mirror of
https://github.com/servo/servo.git
synced 2025-08-12 00:45:33 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<meta charset=utf-8>
|
||||
<title></title>
|
||||
<link rel=match href=hypothetical-box-scroll-viewport-ref.html>
|
||||
<link rel="help"
|
||||
href="https://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-width">
|
||||
<div style="position: absolute">Original text</div>
|
||||
<div style="width: 200vw; height: 10px"></div>
|
||||
<script>
|
||||
// Scroll the viewport.
|
||||
window.scrollTo(window.innerWidth * 2, 0);
|
||||
|
||||
// Now force relayout of the abs pos div.
|
||||
document.querySelector("div").textContent = "Modified text";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue