| 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: table-caption and 'vertical-rl' - ordering dire
ction of line boxes</title> | 7 <title>CSS Writing Modes Test: position absolute and 'vertical-rl' - ordering
direction of line boxes</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/#writing-mode"
title="3.1 Block Flow Direction: the writing-mode property" /> | 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="block-flow-direction-001-ref.xht" /> | 11 <link rel="match" href="block-flow-direction-001-ref.xht" /> |
| 12 | 12 |
| 13 <meta content="ahem" name="flags" /> | 13 <meta content="ahem" name="flags" /> |
| 14 <meta content="This test checks that the lines boxes of a table-caption with i
ts 'writing-mode' set to 'vertical-rl' are ordered from right to left." name="as
sert" /> | 14 <meta content="This test checks that line boxes of an absolutely positioned bo
x with its 'writing-mode' set to 'vertical-rl' will be ordered from right to lef
t." name="assert" /> |
| 15 | 15 |
| 16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
| 17 body | 17 body |
| 18 { | 18 { |
| 19 color: yellow; | 19 color: yellow; |
| 20 font: 1.25em/1 Ahem; | 20 font: 1.25em/1 Ahem; |
| 21 } | 21 } |
| 22 | 22 |
| 23 div | 23 div |
| 24 { | 24 { |
| 25 background-color: blue; | 25 background-color: blue; |
| 26 border: blue solid 1em; | 26 border: blue solid 1em; |
| 27 display: table-caption; | |
| 28 height: 7em; /* Each line box has an inline-size of 7em */ | 27 height: 7em; /* Each line box has an inline-size of 7em */ |
| 28 left: auto; |
| 29 position: absolute; |
| 29 -webkit-writing-mode: vertical-rl; | 30 -webkit-writing-mode: vertical-rl; |
| 30 } | 31 } |
| 31 ]]></style> | 32 ]]></style> |
| 32 </head> | 33 </head> |
| 33 | 34 |
| 34 <body> | 35 <body> |
| 35 | 36 |
| 36 <div>A BBBB C D E F G H JJJJ K  
; L MMMM Q R S T U V WWWW&
nbsp; X YYYYYYY Z a b&nbs
p; c ddddddd eeee f
g h j kkkkkkk</div> | 37 <div>A BBBB C D E F G H JJJJ K  
; L MMMM Q R S T U V WWWW&
nbsp; X YYYYYYY Z a b&nbs
p; c ddddddd eeee f
g h j kkkkkkk</div> |
| 37 | 38 |
| 38 </body> | 39 </body> |
| 39 </html> | 40 </html> |
| OLD | NEW |