diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-10-19 21:39:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 19:39:47 +0000 |
commit | 582943a19eeef23e3efd381ff35637edc32adb5c (patch) | |
tree | 16ed3c3b0613530249debf216935803da48c1b82 /tests/wpt | |
parent | 486b743f134edf8d9d9fd0b5c124dfbfd152fde8 (diff) | |
download | servo-582943a19eeef23e3efd381ff35637edc32adb5c.tar.gz servo-582943a19eeef23e3efd381ff35637edc32adb5c.zip |
Migrate scroll_root.html to WPT (#30478)
Diffstat (limited to 'tests/wpt')
-rw-r--r-- | tests/wpt/meta/MANIFEST.json | 19 | ||||
-rw-r--r-- | tests/wpt/mozilla/meta/MANIFEST.json | 17 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/mozilla/scroll_root.html | 17 | ||||
-rw-r--r-- | tests/wpt/mozilla/tests/mozilla/scroll_root_ref.html | 11 | ||||
-rw-r--r-- | tests/wpt/tests/css/cssom-view/window-scrollBy-display-change-ref.html | 10 | ||||
-rw-r--r-- | tests/wpt/tests/css/cssom-view/window-scrollBy-display-change.html | 15 |
6 files changed, 43 insertions, 46 deletions
diff --git a/tests/wpt/meta/MANIFEST.json b/tests/wpt/meta/MANIFEST.json index 7587d13f94a..236f80fd6fd 100644 --- a/tests/wpt/meta/MANIFEST.json +++ b/tests/wpt/meta/MANIFEST.json @@ -306200,6 +306200,19 @@ ], {} ] + ], + "window-scrollBy-display-change.html": [ + "eff3654cde39ddebb8ed26062da3f6d10a179315", + [ + null, + [ + [ + "/css/cssom-view/window-scrollBy-display-change-ref.html", + "==" + ] + ], + {} + ] ] }, "filter-effects": { @@ -421451,7 +421464,11 @@ "59843ae54b64f6ce4f7e616d4be491c911ea84cf", [] ] - } + }, + "window-scrollBy-display-change-ref.html": [ + "50007a3fbefd372e8abaf2eef8fce42a7574d491", + [] + ] }, "fetching": { "support": { diff --git a/tests/wpt/mozilla/meta/MANIFEST.json b/tests/wpt/mozilla/meta/MANIFEST.json index d5677ec4ba6..6dd9129a031 100644 --- a/tests/wpt/mozilla/meta/MANIFEST.json +++ b/tests/wpt/mozilla/meta/MANIFEST.json @@ -7686,19 +7686,6 @@ {} ] ], - "scroll_root.html": [ - "b1a9cb590b0fcce9c883f99e17fa029a999b699b", - [ - null, - [ - [ - "/_mozilla/mozilla/scroll_root_ref.html", - "==" - ] - ], - {} - ] - ], "scrolling_div_background_borders.html": [ "6f168aa258c31257eaba218252d32bbf28976e12", [ @@ -10592,10 +10579,6 @@ "12d09f821614f9912c6fc34c613136bed22b5bc8", [] ], - "scroll_root_ref.html": [ - "6503ad5d5265c0698f61fc607e2e4e017b31cb6f", - [] - ], "scrolling_div_background_borders_background.png": [ "24d8886dd9f9df9f227abcb27e01e1dcd406e972", [] diff --git a/tests/wpt/mozilla/tests/mozilla/scroll_root.html b/tests/wpt/mozilla/tests/mozilla/scroll_root.html deleted file mode 100644 index b1a9cb590b0..00000000000 --- a/tests/wpt/mozilla/tests/mozilla/scroll_root.html +++ /dev/null @@ -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> diff --git a/tests/wpt/mozilla/tests/mozilla/scroll_root_ref.html b/tests/wpt/mozilla/tests/mozilla/scroll_root_ref.html deleted file mode 100644 index 6503ad5d526..00000000000 --- a/tests/wpt/mozilla/tests/mozilla/scroll_root_ref.html +++ /dev/null @@ -1,11 +0,0 @@ -<!doctype html> -<html> - <head> - <meta charset="utf-8"> - <style> - body { - background: green; - } - </style> - </head> -</html> diff --git a/tests/wpt/tests/css/cssom-view/window-scrollBy-display-change-ref.html b/tests/wpt/tests/css/cssom-view/window-scrollBy-display-change-ref.html new file mode 100644 index 00000000000..50007a3fbef --- /dev/null +++ b/tests/wpt/tests/css/cssom-view/window-scrollBy-display-change-ref.html @@ -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> + diff --git a/tests/wpt/tests/css/cssom-view/window-scrollBy-display-change.html b/tests/wpt/tests/css/cssom-view/window-scrollBy-display-change.html new file mode 100644 index 00000000000..eff3654cde3 --- /dev/null +++ b/tests/wpt/tests/css/cssom-view/window-scrollBy-display-change.html @@ -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> + |