]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Have HTML5 validator ignore `autocomplete="off"` on input[type="checkbox"]
authorChris Rebert <code@rebertia.com>
Fri, 18 Jul 2014 21:15:47 +0000 (14:15 -0700)
committerChris Rebert <code@rebertia.com>
Fri, 18 Jul 2014 21:19:16 +0000 (14:19 -0700)
Not clear from the spec whether this is invalid per se.
But it is the current best known workaround for Firefox's unusual behavior.

Gruntfile.js

index dd706a8aae813e26d118bb149dac21fa814bcf7e..da5b743a0f9d7ac1bff3aa80c6b4e30b69284718 100644 (file)
@@ -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: {