Skip to content

Commit

Permalink
Have HTML5 validator ignore autocomplete="off" on input[type="check…
Browse files Browse the repository at this point in the history
…box"]

Not clear from the spec whether this is invalid per se.
But it is the current best known workaround for Firefox's unusual behavior.
  • Loading branch information
cvrebert committed Jul 18, 2014
1 parent fc19cad commit 031cb96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 031cb96

Please sign in to comment.