Update web-platform-tests to revision 70fdd27f4cecb8a5cae3dafa76ba05265531c9e2

This commit is contained in:
WPT Sync Bot 2019-11-10 10:27:24 +00:00
parent e5689df6b4
commit bea56037ef
701 changed files with 13864 additions and 1909 deletions

View file

@ -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>