| 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: 'inline-grid' value for 'display' property<
/title> |
| 5 <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igal
ia.com" /> |
| 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/
BrowserBugsSection/css21testsuite/" /> <!-- 2014-11-18 --> |
| 7 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#grid-containers"
title="3.1 Establishing Grid Containers" /> |
| 8 <link rel="match" href="../../css21/reference/ref-filled-green-100px-squ
are.xht" /> |
| 9 <meta name="assert" content="This test checks that 'inline-grid' value f
or 'display' property generates an inline level containing box." /> |
| 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 background-color: green; |
| 22 width: 50px; |
| 23 height: 100px; |
| 24 } |
| 25 ]]></style> |
| 26 </head> |
| 27 <body> |
| 28 <p>Test passes if there is a filled green square and <strong>no red</str
ong>.</p> |
| 29 |
| 30 <div id="reference-overlapped-red"></div> |
| 31 <div class="test-inline-grid-overlapping-green"></div><div class="test-i
nline-grid-overlapping-green"></div> |
| 32 </body> |
| 33 </html> |
| OLD | NEW |