aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-07-18 14:15:47 -0700
committerChris Rebert <[email protected]>2014-07-18 14:19:16 -0700
commit031cb969d7d11e3f64bea93009be3db365bfbf1b (patch)
treedd470cbaab839d3af7c168713aa04967f304da26
parentfc19cad60810684d6669ac55eaece2d96500f82a (diff)
downloadbootstrap-031cb969d7d11e3f64bea93009be3db365bfbf1b.tar.xz
bootstrap-031cb969d7d11e3f64bea93009be3db365bfbf1b.zip
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.
-rw-r--r--Gruntfile.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index dd706a8aa..da5b743a0 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: {