mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2
This commit is contained in:
parent
e5689df6b4
commit
bea56037ef
701 changed files with 13864 additions and 1909 deletions
|
@ -1,4 +1,5 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<meta charset="utf-8">
|
||||
<title>Overflow areas are updated when dynamically changed to overflow: clip</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-overflow/#valdef-overflow-clip">
|
||||
|
@ -30,7 +31,10 @@
|
|||
onload = function() {
|
||||
let target = document.getElementById("target");
|
||||
window.unused = target.getBoundingClientRect(); // Update layout
|
||||
target.style.overflow = "-moz-hidden-unscrollable";
|
||||
target.style.overflow = "clip";
|
||||
requestAnimationFrame(() => requestAnimationFrame(() => {
|
||||
target.style.overflow = "-moz-hidden-unscrollable";
|
||||
target.style.overflow = "clip";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}));
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue