summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-view-transitions/old-content-has-scrollbars-ref.html
blob: ea7a0f7c149dbf8ec1abbbcf72afdd8a8f7c6103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<title>Shared transitions: outgoing 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;
  }
  html {
    overflow: hidden;
  }
  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>