summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/reference/contain-paint-ifc-011-ref.html
blob: 229c8c2d74ba3f2b5cede6824091575835807092 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Reference Test</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

  <style>
  p
    {
      margin-bottom: 30px;
    }

  div
    {
      height: 30px;
    }

  div.orange
    {
      background-color: orange;
    }

  div.blue
    {
      background-color: blue;
    }

  div#lime
    {
      background-color: lime;
    }
  </style>

  <p>Test passes if there are 5 horizontal stripes across the page in this order (from top to bottom): an orange stripe, a blue stripe, a bright green stripe, a blue stripe and then an orange stripe.

  <div class="orange"></div>

  <div class="blue"></div>

  <div id="lime"></div>

  <div class="blue"></div>

  <div class="orange"></div>