| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <title>CSS Writing Modes Test: writing-mode: horizontal-tb nested in vertica
l-rl</title> |
| 5 <link rel="author" title="KISAKA Toshihiro" href="mailto:toshihiro@kisaka.jp
"> |
| 6 <!-- You must have at least one spec link, but may have as many as are cove
red in the test. --> |
| 7 <!-- Be sure to make the main testing area first in the order --> |
| 8 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mod
e"> |
| 9 <!-- The match link is only required if this is a reftest --> |
| 10 <link rel="match" href="writing-mode-vertical-rl-003-ref.htm"> |
| 11 <meta name="flags" content="ahem"> |
| 12 <meta name="assert" content="when child block has its own writing-mode, chil
d block's writing-mode overwrites parent block's writing-mode."> |
| 13 <style type="text/css"> |
| 14 div { |
| 15 -webkit-writing-mode: vertical-rl; |
| 16 } |
| 17 |
| 18 div p { |
| 19 background: yellow; |
| 20 color: blue; |
| 21 font: 20px/1 Ahem; |
| 22 height: 6em; |
| 23 margin: 10px; |
| 24 white-space: pre; |
| 25 width: 6em; |
| 26 } |
| 27 |
| 28 div p:nth-child(2) { |
| 29 background: pink; |
| 30 } |
| 31 |
| 32 p#test { |
| 33 -webkit-writing-mode: horizontal-tb; |
| 34 } |
| 35 </style> |
| 36 </head> |
| 37 <body> |
| 38 <p>Upper three blocks are identical to the lower three blocks including each
character positions.</p> |
| 39 |
| 40 <div> |
| 41 <p>ab cd |
| 42 e fg h |
| 43 i jkl |
| 44 mn |
| 45 o q rs |
| 46 t uv</p> |
| 47 <p id="test">ab cd |
| 48 e fg h |
| 49 i jkl |
| 50 mn |
| 51 o q rs |
| 52 t uv</p> |
| 53 <p>ab cd |
| 54 e fg h |
| 55 i jkl |
| 56 mn |
| 57 o q rs |
| 58 t uv</p> |
| 59 </div> |
| 60 |
| 61 <div> |
| 62 <p>ab cd |
| 63 e fg h |
| 64 i jkl |
| 65 mn |
| 66 o q rs |
| 67 t uv</p> |
| 68 <p> h s |
| 69 d l r |
| 70 cgk v |
| 71 fj qu |
| 72 b n |
| 73 aeimot</p> |
| 74 <p>ab cd |
| 75 e fg h |
| 76 i jkl |
| 77 mn |
| 78 o q rs |
| 79 t uv</p> |
| 80 </div> |
| 81 </body> |
| 82 </html> |
| OLD | NEW |