mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision 548818eee08f7a6e31b9706b352b5d44b2f6d024
This commit is contained in:
parent
82fd8d1daf
commit
5e74467d68
112 changed files with 1704 additions and 536 deletions
|
@ -37,3 +37,12 @@ test(t => {
|
|||
comment.remove();
|
||||
assert_not_equals(sheet, style.sheet);
|
||||
}, "Mutating the style element: removing a Comment node");
|
||||
|
||||
test(t => {
|
||||
const style = document.body.appendChild(document.createElement("style"));
|
||||
const sheet = style.sheet;
|
||||
t.add_cleanup(() => style.remove());
|
||||
assert_not_equals(sheet, null);
|
||||
style.appendChild(new DocumentFragment());
|
||||
assert_equals(sheet, style.sheet);
|
||||
}, "Mutating the style element: inserting an empty DocumentFragment node");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue