| 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: 'order' property affects grid items paintin
g order 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/#order-property"
title="4.2 Reordered Grid Items: the order property" /> |
| 7 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#order-pro
perty" title="5.4. Display Order: the order property" /> |
| 8 <link rel="match" href="../../css21/reference/ref-filled-green-100px-squ
are.xht" /> |
| 9 <meta name="flags" content="ahem" /> |
| 10 <style type="text/css"><![CDATA[ |
| 11 #inline-grid { |
| 12 display: inline-grid; |
| 13 font: 100px/1 Ahem; |
| 14 } |
| 15 |
| 16 #test-item-overlapping-green { |
| 17 color: green; |
| 18 } |
| 19 |
| 20 #reference-item-overlapped-red { |
| 21 color: red; |
| 22 order: -1; |
| 23 } |
| 24 |
| 25 .first-row-first-column { |
| 26 grid-area: 1 / 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="inline-grid"> |
| 34 <div id="test-item-overlapping-green" class="first-row-first-column"
>G</div> |
| 35 <div id="reference-item-overlapped-red" class="first-row-first-colum
n">R</div> |
| 36 </div> |
| 37 </body> |
| 38 </html> |
| OLD | NEW |