diff options
author | Chris Rebert <code@chrisrebert.com> | 2016-01-11 10:53:17 +0300 |
---|---|---|
committer | Chris Rebert <code@chrisrebert.com> | 2016-01-11 10:55:10 +0300 |
commit | 71443c503416156a3abbd0e617acee376fc4f14e (patch) | |
tree | 4910d4047770a4adbc9cfc05cdf415423abb5dc7 /Gruntfile.js | |
parent | 9304f23ad887d2151659f7958244af816af1ac95 (diff) |
HTML validation: Ignore spurious errors about script[integrity]
Workaround for https://github.com/jzaefferer/grunt-html/issues/86
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index c4407332dc..ba99798967 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -343,12 +343,14 @@ module.exports = function (grunt) { 'Attribute “autocomplete” not allowed on element “button” at this point.', 'Element “div” not allowed as child of element “progress” in this context. (Suppressing further errors from this subtree.)', 'Consider using the “h1” element as a top-level heading only (all “h1” elements are treated as top-level headings by many screen readers and other tools).', + 'The “datetime” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “color” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “date” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “datetime-local” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “month” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', 'The “time” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', - 'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.' + 'The “week” input type is not supported in all browsers. Please be sure to test, and consider using a polyfill.', + 'Attribute “integrity” not allowed on element “script” at this point.' // Until https://github.com/jzaefferer/grunt-html/issues/86 gets fixed ] }, src: ['_gh_pages/**/*.html', 'js/tests/visual/*.html'] |