summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/new-content-has-scrollbars-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-view-transitions/new-content-has-scrollbars-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-view-transitions/new-content-has-scrollbars-ref.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-view-transitions/new-content-has-scrollbars-ref.html b/testing/web-platform/tests/css/css-view-transitions/new-content-has-scrollbars-ref.html
new file mode 100644
index 0000000000..eddd733014
--- /dev/null
+++ b/testing/web-platform/tests/css/css-view-transitions/new-content-has-scrollbars-ref.html
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<title>View transitions: incoming viewport has scrollbars (ref)</title>
+<link rel="help" href="https://github.com/WICG/view-transitions">
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/7859">
+<link rel="author" href="mailto:bokan@chromium.org">
+<style>
+ html, body {
+ width: 100%;
+ height: 100%;
+ background-color: lightpink;
+ }
+ body {
+ margin: 50px;
+ }
+ div {
+ background-image:
+ linear-gradient(45deg, #000 25%, transparent 25%),
+ linear-gradient(45deg, transparent 75%, #000 75%),
+ linear-gradient(45deg, transparent 75%, #000 75%),
+ linear-gradient(45deg, #000 25%, lightgreen 25%);
+ background-size: 200px 200px;
+ background-position: 0 0, 0 0, -100px -100px, 100px 100px;
+ width: 200%;
+ height: 200%;
+ }
+</style>
+<div></div>