Migrate scroll_root.html to WPT (#30478)

This commit is contained in:
Martin Robinson 2023-10-19 21:39:47 +02:00 committed by GitHub
parent 486b743f13
commit 582943a19e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 43 additions and 46 deletions

View file

@ -306200,6 +306200,19 @@
], ],
{} {}
] ]
],
"window-scrollBy-display-change.html": [
"eff3654cde39ddebb8ed26062da3f6d10a179315",
[
null,
[
[
"/css/cssom-view/window-scrollBy-display-change-ref.html",
"=="
]
],
{}
]
] ]
}, },
"filter-effects": { "filter-effects": {
@ -421451,7 +421464,11 @@
"59843ae54b64f6ce4f7e616d4be491c911ea84cf", "59843ae54b64f6ce4f7e616d4be491c911ea84cf",
[] []
] ]
} },
"window-scrollBy-display-change-ref.html": [
"50007a3fbefd372e8abaf2eef8fce42a7574d491",
[]
]
}, },
"fetching": { "fetching": {
"support": { "support": {

View file

@ -7686,19 +7686,6 @@
{} {}
] ]
], ],
"scroll_root.html": [
"b1a9cb590b0fcce9c883f99e17fa029a999b699b",
[
null,
[
[
"/_mozilla/mozilla/scroll_root_ref.html",
"=="
]
],
{}
]
],
"scrolling_div_background_borders.html": [ "scrolling_div_background_borders.html": [
"6f168aa258c31257eaba218252d32bbf28976e12", "6f168aa258c31257eaba218252d32bbf28976e12",
[ [
@ -10592,10 +10579,6 @@
"12d09f821614f9912c6fc34c613136bed22b5bc8", "12d09f821614f9912c6fc34c613136bed22b5bc8",
[] []
], ],
"scroll_root_ref.html": [
"6503ad5d5265c0698f61fc607e2e4e017b31cb6f",
[]
],
"scrolling_div_background_borders_background.png": [ "scrolling_div_background_borders_background.png": [
"24d8886dd9f9df9f227abcb27e01e1dcd406e972", "24d8886dd9f9df9f227abcb27e01e1dcd406e972",
[] []

View file

@ -1,17 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Verify that scrolling the root does actually do a visual scroll</title>
<link rel="match" href="scroll_root_ref.html">
<style>
body {
background: green;
}
</style>
</head>
<body onload="window.scrollBy(0, 2000);">
<div style="width: 100px; height: 100px; background: red;"></div>
<div style="height: 10000px"></div>
</body>
</html>

View file

@ -1,11 +0,0 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style>
body {
background: green;
}
</style>
</head>
</html>

View file

@ -0,0 +1,10 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div style="width: 100px; height: 100px; background: green;"></div>
</body>
</html>

View file

@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Verify that scrolling the root does actually do a visual scroll</title>
<link rel="help" href="https://www.w3.org/TR/cssom-view-1/#dom-window-scrollby">
<link rel="match" href="window-scrollBy-display-change-ref.html">
</head>
<body style="overflow: hidden" onload="window.scrollBy(0, 2000);">
<div style="height: 2000px"></div>
<div style="width: 100px; height: 100px; background: green;"></div>
<div style="height: 2000px"></div>
</body>
</html>