| 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: Regular and anonymous grid items within an
inline grid</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/#grid-items" titl
e="4 Grid Items" /> |
| 7 <link rel="match" href="../../css21/reference/ref-filled-green-100px-squ
are.xht" /> |
| 8 <meta name="flags" content="ahem" /> |
| 9 <meta name="assert" content="Checks that inline grid container children
become grid items, and text that is directly contained inside the inline grid is
wrapped in an anonymous grid item." /> |
| 10 <style type="text/css"><![CDATA[ |
| 11 #reference-overlapped-red { |
| 12 position: absolute; |
| 13 background-color: red; |
| 14 width: 100px; |
| 15 height: 100px; |
| 16 z-index: -1; |
| 17 } |
| 18 |
| 19 .test-inline-grid-overlapping-green { |
| 20 display: inline-grid; |
| 21 font: 25px/1 Ahem; |
| 22 color: green; |
| 23 } |
| 24 ]]></style> |
| 25 </head> |
| 26 <body> |
| 27 <p>Test passes if there is a filled green square and <strong>no red</str
ong>.</p> |
| 28 |
| 29 <div id="reference-overlapped-red"></div> |
| 30 <div class="test-inline-grid-overlapping-green"> |
| 31 <div>it</div> |
| 32 em |
| 33 <div>it</div> |
| 34 em |
| 35 </div><div class="test-inline-grid-overlapping-green"> |
| 36 it |
| 37 <span>em</span> |
| 38 it |
| 39 <span>em</span> |
| 40 </div> |
| 41 |
| 42 </body> |
| 43 </html> |
| OLD | NEW |