| 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: inline replaced element and 'vertical-lr' (adva
nced)</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/#replaced-base
lines" title="4.3 Atomic Inline Baselines" /> |
| 11 <link rel="match" href="inline-replaced-vrl-004-ref.xht" /> |
| 12 |
| 13 <meta content="ahem image" name="flags" /> |
| 14 <meta content="This test checks that, while the content of inline replaced ele
ments do not rotate in vertical writing mode, they are nevertheless laid out fro
m top to bottom (inline base direction) in a line box and their baseline-alignme
nt is central (not alphabetic) and then the following lines boxes (line box dire
ction within a block container) are ordered from left to right." name="assert" /
> |
| 15 |
| 16 <style type="text/css"><![CDATA[ |
| 17 div |
| 18 { |
| 19 font: 6.25em/1 Ahem; /* computes to 100px/100px */ |
| 20 height: 2em; |
| 21 -webkit-writing-mode: vertical-lr; |
| 22 } |
| 23 ]]></style> |
| 24 </head> |
| 25 |
| 26 <body> |
| 27 |
| 28 <p>Test passes if there is an unbroken drawing of a yin-yang (☯) symbol
.</p> |
| 29 |
| 30 <div id="wrapper"> |
| 31 <img src="support/test-tl.png" alt="Image download support must be enabled"
/><img src="support/test-bl.png" alt="Image download support must be enabled" />
<img src="support/test-tr.png" alt="Image download support must be enabled" /><i
mg src="support/test-br.png" alt="Image download support must be enabled" /> |
| 32 </div> |
| 33 |
| 34 </body> |
| 35 </html> |
| OLD | NEW |