mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -14,7 +14,7 @@ add_completion_callback(() => document.getElementById("container").remove());
|
|||
|
||||
test(t => {
|
||||
var shadow = document.getElementById("shadow");
|
||||
var shadowRoot = shadow.createShadowRoot();
|
||||
var shadowRoot = shadow.attachShadow({ mode: "open" });
|
||||
var shadowDiv = document.createElement("div");
|
||||
shadowDiv.style.height = "200px";
|
||||
shadowDiv.style.width = "200px";
|
||||
|
@ -30,4 +30,4 @@ test(t => {
|
|||
assert_approx_equals(window.scrollX, expected_x, 1);
|
||||
assert_approx_equals(window.scrollY, expected_y, 1);
|
||||
}, "scrollIntoView should behave correctly if applies to shadow dom elements");
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue