| 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 Test: Left applied to element with 'display' set to 'table-co
lumn'</title> |
| 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
| 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtal
bot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-09-19 --> |
| 7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-l
eft" /> |
| 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#dis-pos-f
lo" /> |
| 9 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#position-
props" /> |
| 10 <link rel="match" href="left-applies-to-001-ref.xht" /> |
| 11 |
| 12 <meta name="flags" content="" /> |
| 13 <meta name="assert" content="The 'left' property applies to elements wit
h a display of 'table-column'." /> |
| 14 <style type="text/css"> |
| 15 body {margin: 8px;} |
| 16 |
| 17 #test |
| 18 { |
| 19 background: green; |
| 20 left: 0; |
| 21 display: table-column; |
| 22 height: 1in; |
| 23 position: absolute; |
| 24 width: 1in; |
| 25 } |
| 26 #table |
| 27 { |
| 28 display: table; |
| 29 table-layout: fixed; |
| 30 } |
| 31 #row |
| 32 { |
| 33 display: table-row; |
| 34 } |
| 35 #cell |
| 36 { |
| 37 display: table-cell; |
| 38 } |
| 39 </style> |
| 40 </head> |
| 41 <body> |
| 42 <p>Test passes if there is a filled green square on the left side of the
page.</p> |
| 43 <div id="table"> |
| 44 <div id="test"></div> |
| 45 <div id="row"> |
| 46 <div id="cell"></div> |
| 47 </div> |
| 48 </div> |
| 49 </body> |
| 50 </html> |
| OLD | NEW |