mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Update web-platform-tests to revision b7a8b84debb42268ea95a45bdad8f727d1facdf7
This commit is contained in:
parent
ba929208e4
commit
953dbda9a6
215 changed files with 6409 additions and 1644 deletions
|
@ -568,5 +568,11 @@ test(() => {
|
|||
assert_equals(getComputedStyle(shadowDiv).color, "rgb(0, 0, 0)");
|
||||
}, 'Adopting a shadow host will empty adoptedStyleSheets if adopting to a different document');
|
||||
|
||||
</script>
|
||||
test(() => {
|
||||
const host = document.createElement("div");
|
||||
const root = host.attachShadow({mode: "open"});
|
||||
root.adoptedStyleSheets = [new CSSStyleSheet()];
|
||||
document.body.offsetTop;
|
||||
}, 'Forcing a style update after adding an adopted stylesheet on a disconnected shadow root should not crash.');
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue