From: Chris Rebert Date: Fri, 18 Jul 2014 21:15:47 +0000 (-0700) Subject: Have HTML5 validator ignore `autocomplete="off"` on input[type="checkbox"] X-Git-Tag: v3.3.0~304^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=031cb969d7d11e3f64bea93009be3db365bfbf1b;p=thirdparty%2Fbootstrap.git Have HTML5 validator ignore `autocomplete="off"` on input[type="checkbox"] Not clear from the spec whether this is invalid per se. But it is the current best known workaround for Firefox's unusual behavior. --- diff --git a/Gruntfile.js b/Gruntfile.js index dd706a8aae..da5b743a0f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -340,7 +340,8 @@ module.exports = function (grunt) { reset: true, relaxerror: [ 'Bad value X-UA-Compatible for attribute http-equiv on element meta.', - 'Element img is missing required attribute src.' + 'Element img is missing required attribute src.', + 'Attribute autocomplete not allowed on element input at this point.' ] }, files: {