| 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: horizontal rule - 'vertical-lr'</title> |
| 8 |
| 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
| 10 <link rel="help" title="7.1 Principles of Layout in Vertical Writing Modes" hr
ef="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" /> |
| 11 <link rel="match" href="horizontal-rule-vrl-004-ref.xht" /> |
| 12 |
| 13 <meta content="" name="flags" /> |
| 14 <meta content="This test checks that an horizontal rule (<hr> element) w
ith 'vertical-lr' writing-mode but inside an 'horizontal-tb' writing-mode contex
t must be rendered as an horizontal rule." name="assert" /> |
| 15 |
| 16 <style type="text/css"><![CDATA[ |
| 17 hr |
| 18 { |
| 19 background-color: green; |
| 20 border: transparent none 0px; |
| 21 height: 10px; |
| 22 margin: 0px; |
| 23 width: 100%; |
| 24 -webkit-writing-mode: vertical-lr; |
| 25 } |
| 26 |
| 27 div#overlapped-red |
| 28 { |
| 29 background-color: red; |
| 30 bottom: 10px; |
| 31 height: 10px; |
| 32 position: relative; |
| 33 width: auto; |
| 34 z-index: -1; |
| 35 } |
| 36 ]]></style> |
| 37 |
| 38 </head> |
| 39 |
| 40 <body> |
| 41 |
| 42 <p>Test passes if there is an horizontal green bar and <strong>no red</strong>
.</p> |
| 43 |
| 44 <hr></hr> |
| 45 |
| 46 <div id="overlapped-red"></div> |
| 47 |
| 48 </body> |
| 49 </html> |
| OLD | NEW |