| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> |
| 4 <title>CSS Grid Layout Test: Reference file 3 overlapped squares the fol
lowing colors: blue, yellow and green</title> |
| 5 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igal
ia.com" /> |
| 6 <style type="text/css"><![CDATA[ |
| 7 #main { |
| 8 position: relative; |
| 9 } |
| 10 |
| 11 #main div { |
| 12 width: 100px; |
| 13 height: 100px; |
| 14 } |
| 15 |
| 16 .blue { |
| 17 background-color: blue; |
| 18 position: absolute; |
| 19 left: 0px; |
| 20 top: 0px; |
| 21 } |
| 22 |
| 23 .yellow { |
| 24 background-color: yellow; |
| 25 position: absolute; |
| 26 left: 25px; |
| 27 top: 25px; |
| 28 } |
| 29 |
| 30 .green { |
| 31 background-color: green; |
| 32 position: absolute; |
| 33 left: 50px; |
| 34 top: 50px; |
| 35 } |
| 36 ]]></style> |
| 37 </head> |
| 38 <body> |
| 39 <p>Test passes if there are 3 filled squares with the same size, and <st
rong>green</strong> is overlapping <strong>yellow</strong> which is overlapping
<strong>blue</strong>.</p> |
| 40 |
| 41 <div id="main"> |
| 42 <div class="blue"></div> |
| 43 <div class="yellow"></div> |
| 44 <div class="green"></div> |
| 45 </div> |
| 46 </body> |
| 47 </html> |
| OLD | NEW |