robert@webkit.org | 8c18f03 | 2012-08-04 09:59:30 +0000 | [diff] [blame] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>CSS Test: Reference Result</title> |
| 5 | <meta name="flags" content="ahem"> |
| 6 | <style type="text/css"> |
| 7 | #table |
| 8 | { |
| 9 | border: 5px solid transparent; |
| 10 | color: white; |
| 11 | display: table; |
| 12 | font: 20px/1em Ahem; |
| 13 | height: 5em; |
| 14 | table-layout: fixed; |
| 15 | width: 5em; |
| 16 | } |
| 17 | #row |
| 18 | { |
| 19 | display: table-row; |
| 20 | } |
| 21 | #cell |
| 22 | { |
| 23 | display: table-cell; |
| 24 | white-space: nowrap; |
| 25 | } |
| 26 | #span2 |
| 27 | { |
| 28 | color: green; |
| 29 | } |
| 30 | </style> |
| 31 | </head> |
| 32 | <body> |
| 33 | <p>Test passes if there is a green box below.</p> |
| 34 | <div id="table"> |
| 35 | <div id="row"> |
| 36 | <div id="cell"><span>XXXXX</span><span id="span2">XXXXX</span></div> |
| 37 | </div> |
| 38 | </div> |
| 39 | </body> |
| 40 | </html> |