| 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 |
| 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
| 5 <head> |
| 6 |
| 7 <title>CSS Writing Modes Test: descendant inline with a different 'writing-mod
e' value</title> |
| 8 |
| 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
| 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode"
title="3.1 Block Flow Direction: the writing-mode property" /> |
| 11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> |
| 12 |
| 13 <meta content="" name="flags" /> |
| 14 <meta content="This test checks that if an inline box has a different block fl
ow direction than its containing block then its display computes to 'inline-bloc
k' in which case its specified width and specified height are not ignored and ha
ve to be rendered." name="assert" /> |
| 15 |
| 16 <style type="text/css"><![CDATA[ |
| 17 span#inner |
| 18 { |
| 19 background-color: green; |
| 20 color: green; |
| 21 height: 6.25em; |
| 22 vertical-align: top; |
| 23 width: 6.25em; |
| 24 -webkit-writing-mode: vertical-rl; |
| 25 } |
| 26 |
| 27 div#reference-overlapped-red |
| 28 { |
| 29 background-color: red; |
| 30 bottom: 6.25em; |
| 31 height: 6.25em; |
| 32 position: relative; |
| 33 width: 6.25em; |
| 34 z-index: -1; |
| 35 } |
| 36 ]]></style> |
| 37 </head> |
| 38 |
| 39 <body> |
| 40 |
| 41 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 42 |
| 43 <div id="test-overlapping-green"> |
| 44 <span id="outer"><span id="inner">I</span></span> |
| 45 </div> |
| 46 |
| 47 <div id="reference-overlapped-red"></div> |
| 48 |
| 49 </body> |
| 50 </html> |
| OLD | NEW |