| 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: 'float' has no effect on grid items within
an inline grid</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/" /> <!-- 2015-01-03 --> |
| 7 <link rel="help" href="http://www.w3.org/TR/css-grid-1/#grid-containers"
title="3.1 Establishing Grid Containers" /> |
| 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#float-pos
ition" title="9.5.1 Positioning the float" /> |
| 9 <link rel="match" href="../../css21/reference/ref-filled-green-100px-squ
are.xht" /> |
| 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 .inline-grid { |
| 20 display: inline-grid; |
| 21 } |
| 22 |
| 23 .test-overlapping-green { |
| 24 background-color: green; |
| 25 width: 100px; |
| 26 height: 50px; |
| 27 } |
| 28 |
| 29 .float-left { |
| 30 float: left; |
| 31 } |
| 32 ]]></style> |
| 33 </head> |
| 34 <body> |
| 35 <p>Test passes if there is a filled green square and <strong>no red</str
ong>.</p> |
| 36 |
| 37 <div id="reference-overlapped-red"></div> |
| 38 |
| 39 <div class="inline-grid"> |
| 40 <div class="test-overlapping-green float-left"></div> |
| 41 <div class="test-overlapping-green"></div> |
| 42 </div> |
| 43 </body> |
| 44 </html> |
| OLD | NEW |