Skip to content

Commit d07116a

Browse files
rwaldrondmethvin
authored andcommitted
Adds 'bdi' and 'data' to shim list and test runner. Fixes #11055
1 parent 491d7e2 commit d07116a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/manipulation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function createSafeFragment( document ) {
1414
return safeFrag;
1515
}
1616

17-
var nodeNames = "abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|" +
17+
var nodeNames = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|" +
1818
"header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
1919
rinlinejQuery = / jQuery\d+="(?:\d+|null)"/g,
2020
rleadingWhitespace = /^\s+/,

test/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

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

0 commit comments

Comments
 (0)