mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04:15:33 +01:00
Update web-platform-tests to revision e8bfc205e36ad699601212cd50083870bad9a75d
This commit is contained in:
parent
65dd6d4340
commit
ccdb0a3458
1428 changed files with 118036 additions and 9786 deletions
|
@ -37,12 +37,14 @@ function textTextInContainer(cont, html, expectedPlain, msg) {
|
|||
for (var i = 0; i < pokes.length; ++i) {
|
||||
pokes[i].textContent = 'abc';
|
||||
}
|
||||
pokes = document.getElementsByClassName('poke-rp');
|
||||
for (var i = 0; i < pokes.length; ++i) {
|
||||
var rp = document.createElement("rp");
|
||||
rp.textContent = "abc";
|
||||
pokes[i].appendChild(rp);
|
||||
}
|
||||
['rp', 'optgroup', 'div'].forEach(function(tag) {
|
||||
pokes = document.getElementsByClassName('poke-' + tag);
|
||||
for (var i = 0; i < pokes.length; ++i) {
|
||||
var el = document.createElement(tag);
|
||||
el.textContent = "abc";
|
||||
pokes[i].appendChild(el);
|
||||
}
|
||||
});
|
||||
var shadows = document.getElementsByClassName('shadow');
|
||||
for (var i = 0; i < shadows.length; ++i) {
|
||||
var s = shadows[i].createShadowRoot();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue