summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-multicol/multicol-nested-margin-002-ref.xht
blob: 2818de04a18a2f82c4c271ad6f01161b06de53ab (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
47
48
49
50
51
52
53
54
55
56
57
58
<!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 Reftest Reference</title>
  <link rel="author" title="Opera Software ASA" href="http://www.opera.com/" />
  <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2013-08-14 -->
  <style type="text/css"><![CDATA[
  body {margin: 0em;}

  div
  {
  background-color: yellow;
  font: 1.25em/1 serif;
  height: 5em;
  position: relative;
  width: 41em;
  }

  div > div
  {
  background-color: blue;
  font: inherit;
  height: 3em;
  position: absolute;
  top: 0em;
  width: 2em
  }

  div#first-blue
  {
  background-color: blue;
  left: 29em;
  }

  div#second-blue
  {
  background-color: blue;
  left: 33em;
  }

  div#third-blue
  {
  background-color: blue;
  height: 2em;
  left: 37em;
  }
  ]]></style>
 </head>
 <body>

  <div>
    <div id="first-blue"></div>
    <div id="second-blue"></div>
    <div id="third-blue"></div>
  </div>

 </body>
</html>