| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>CSS Writing Modes Test: outline layout and inline-block and vertical-rl w
riting-mode</title> | 3 <title>CSS Writing Modes Test: outline layout and inline-block and vertical-rl w
riting-mode</title> |
| 4 <link rel="match" href="reference/outline-inline-block-vrl-006.html" /> | 4 <link rel="match" href="reference/outline-inline-block-vrl-006.html" /> |
| 5 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" /> | 5 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com" /> |
| 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> <!-- 2016-01-14 --> | 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> <!-- 2016-01-14 --> |
| 7 <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" hre
f="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" /> | 7 <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" hre
f="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" /> |
| 8 <link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="htt
p://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" /> | 8 <link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="htt
p://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" /> |
| 9 <meta content="ahem" name="flags" /> | 9 <meta content="ahem" name="flags" /> |
| 10 <style> | 10 <style> |
| 11 .container { | 11 .container { |
| 12 color:transparent; | 12 color:transparent; |
| 13 font:50px/1 Ahem; | 13 font:50px/1 Ahem; |
| 14 height:6em; | 14 height:6em; |
| 15 writing-mode:vertical-rl; | 15 writing-mode:vertical-rl; |
| 16 } | 16 } |
| 17 .outline { | 17 .outline { |
| 18 color:orange; | 18 color:orange; |
| 19 display:inline-block; | 19 display:inline-block; |
| 20 outline:blue solid 2px; | 20 outline:blue solid 2px; |
| 21 } | 21 } |
| 22 </style> | 22 </style> |
| 23 <p>Test passes if the inside of 3 blue rectangles is orange. | 23 <p>Test passes if the inside of 3 blue rectangles is orange. |
| 24 <div class="container"> | 24 <div class="container"> |
| 25 <!-- | 25 <!-- |
| 26 Additional div to ensure that the origin of the containing block of the | 26 Additional div to ensure that the origin of the containing block of the |
| 27 outline span is different from the origin of the writing mode root. | 27 outline span is different from the origin of the writing mode root. |
| 28 --> | 28 --> |
| 29 <div>123<span class="outline">XXX</span></div> | 29 <div>123<span class="outline">XXX</span></div> |
| 30 <div>12345 6<span class="outline">XX</span></div> | 30 <div>12345 6<span class="outline">XX</span></div> |
| 31 <div>1</div> | 31 <div>1</div> |
| 32 <div><span class="outline">1</span></div> | 32 <div><span class="outline">1</span></div> |
| 33 <div>1</div> | 33 <div>1</div> |
| 34 </div> | 34 </div> |
| OLD | NEW |