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.
This commit is contained in:
parent
fc19cad608
commit
031cb969d7
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue