Commit 031cb969 authored by Chris Rebert's avatar Chris Rebert

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.
parent fc19cad6
...@@ -340,7 +340,8 @@ module.exports = function (grunt) { ...@@ -340,7 +340,8 @@ module.exports = function (grunt) {
reset: true, reset: true,
relaxerror: [ relaxerror: [
'Bad value X-UA-Compatible for attribute http-equiv on element meta.', '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: { files: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment