Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055

This commit is contained in:
Rick Waldron 2011-12-18 10:54:30 -05:00 committed by Dave Methvin
parent 491d7e219b
commit d07116a952
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ function createSafeFragment( document ) {
return safeFrag; return safeFrag;
} }
var nodeNames = "abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|" + var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video", "header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g, rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
rleadingWhitespace = /^\s+/, rleadingWhitespace = /^\s+/,

View File

@ -34,7 +34,7 @@
<script> <script>
// html5shiv, enabling HTML5 elements to be used with jQuery // html5shiv, enabling HTML5 elements to be used with jQuery
( "abbr article aside audio canvas details figcaption figure footer header hgroup " + ( "abbr article aside audio bdi canvas data details figcaption figure footer header hgroup " +
"mark meter nav output progress section summary time video" "mark meter nav output progress section summary time video"
).replace(/\w+/g, function(n) { ).replace(/\w+/g, function(n) {
document.createElement(n); document.createElement(n);