summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/backgrounds/background-intrinsic-ref.xht
blob: 5efb66f202d30c264113c1ef26615dab628df24d (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test Reference</title>
  <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <meta name="flags" content="svg" />
  <style type="text/css">
    /* Setup. Use 5:6 ratio because it's weird and unlikely to be hard-coded anywhere. */
    div {
      position: relative;
      width: 120px;
      height: 120px;
      margin: 0.5em;
      background: green;
    }
  </style>
 </head>
 <body>
  <p>There must be two green boxes below and no red.</p>

  <div class="cover">
  </div>

  <div class="limit">
  </div>

 </body>
</html>