OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
2 | 2 |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 | 4 |
5 <head> | 5 <head> |
6 | 6 |
7 <title>CSS Writing Modes Test: inline replaced element and 'vertical-rl' (adva
nced)</title> | 7 <title>CSS Writing Modes Test: inline replaced element and 'vertical-rl' (adva
nced)</title> |
8 | 8 |
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> | 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" /> | 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" /> | 11 <link rel="match" href="inline-replaced-vrl-004-ref.xht" /> |
12 | 12 |
13 <meta content="ahem image" name="flags" /> | 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 right to left." name="assert" /
> | 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 right to left." name="assert" /
> |
15 | 15 |
16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
17 div | 17 div |
18 { | 18 { |
19 font: 6.25em/1 Ahem; /* computes to 100px/100px */ | 19 font: 100px/1 Ahem; /* computes to 100px/100px */ |
20 height: 2em; | 20 height: 2em; |
21 -webkit-writing-mode: vertical-rl; | 21 -webkit-writing-mode: vertical-rl; |
22 } | 22 } |
23 ]]></style> | 23 ]]></style> |
24 </head> | 24 </head> |
25 | 25 |
26 <body> | 26 <body> |
27 | 27 |
28 <p>Test passes if there is an unbroken drawing of a yin-yang (☯) symbol
.</p> | 28 <p>Test passes if there is an unbroken drawing of a yin-yang (☯) symbol
.</p> |
29 | 29 |
30 <div> | 30 <div> |
31 <img src="support/test-tr.png" alt="Image download support must be enabled"
/><img src="support/test-br.png" alt="Image download support must be enabled" />
<img src="support/test-tl.png" alt="Image download support must be enabled" /><i
mg src="support/test-bl.png" alt="Image download support must be enabled" /> | 31 <img src="support/test-tr.png" alt="Image download support must be enabled"
/><img src="support/test-br.png" alt="Image download support must be enabled" />
<img src="support/test-tl.png" alt="Image download support must be enabled" /><i
mg src="support/test-bl.png" alt="Image download support must be enabled" /> |
32 </div> | 32 </div> |
33 | 33 |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |