summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-scroll-snap/scroll-target-001-ref.html
blob: 28b00184c2ef5f33f6a2e8927233f6f7f42b1973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<title>Reference</title>
<link rel='author' title='Elika J. Etemad' href='http://fantasai.inkedblade.net/contact'>
<style type='text/css'>
  .container {
    border: solid blue 4px;
    height: 4em;
    overflow: auto;
    font: 20px/1 sans-serif;
  }
  .container > div {
    height: 1em;
    margin: 1em 0;
    background: green;
  }
</style>

<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>

<div class="container">
  <div></div>
</div>