From 031cb969d7d11e3f64bea93009be3db365bfbf1b Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 18 Jul 2014 14:15:47 -0700 Subject: [PATCH] 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. --- Gruntfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gruntfile.js b/Gruntfile.js index dd706a8aae..da5b743a0f 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: {