]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
HTML validation: Ignore spurious errors about script[integrity] 18668/head
authorChris Rebert <code@chrisrebert.com>
Mon, 11 Jan 2016 07:53:17 +0000 (23:53 -0800)
committerChris Rebert <code@chrisrebert.com>
Mon, 11 Jan 2016 07:55:10 +0000 (23:55 -0800)
Workaround for https://github.com/jzaefferer/grunt-html/issues/86

Gruntfile.js

index c4407332dc153c97e7d3fe7167b88bf50614d1e3..ba9979896751b7c44d3baf87c9fd8c83a73449a5 100644 (file)
@@ -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']