| 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: Paint order of grid items is the same as in
line blocks</title> |
| 5 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igal
ia.com" /> |
| 6 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#z-order" title="
9.5 Z-axis Ordering: the z-index property" /> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS2/zindex.html#painting-or
der" title="E.2 Painting order" /> |
| 8 <link rel="match" href="../../css21/reference/ref-filled-green-100px-squ
are.xht" /> |
| 9 <style type="text/css"><![CDATA[ |
| 10 #grid { |
| 11 display: grid; |
| 12 } |
| 13 |
| 14 #reference-overlapped-red { |
| 15 color: red; |
| 16 font: 100px/1 Ahem; |
| 17 grid-row: 1; |
| 18 grid-column: 1; |
| 19 } |
| 20 |
| 21 #test-overlapping-green { |
| 22 background-color: green; |
| 23 width: 100px; |
| 24 height: 100px; |
| 25 grid-row: 1; |
| 26 grid-column: 1; |
| 27 } |
| 28 ]]></style> |
| 29 </head> |
| 30 <body> |
| 31 <p>Test passes if there is a filled green square and <strong>no red</str
ong>.</p> |
| 32 |
| 33 <div id="grid"> |
| 34 <div id="reference-overlapped-red">R</div> |
| 35 <div id="test-overlapping-green"></div> |
| 36 </div> |
| 37 </body> |
| 38 </html> |
| OLD | NEW |