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: Border conflict resolution - adjacent cells wit
h same border styles in a 'vertical-lr' table with 'direction: ltr' (basic)</tit
le> |
| 8 |
| 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/#logical-direc
tions" title="6.2 Flow-relative Directions" /> |
| 11 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-
resolution" title="17.6.2.1 Border conflict resolution" /> |
| 12 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> |
| 13 |
| 14 <meta content="" name="flags" /> |
| 15 <meta content="When two adjacent cells have the same 'border-width' value and
the same 'border-style' value in a 'border-collapse: collapse' table, then the c
olor of the border of the cell closest to line-left side wins (if the table's 'd
irection' is 'ltr'; line-right side, if it is 'rtl') and the color of the border
of the cell closest to block-start side wins." name="assert" /> |
| 16 |
| 17 <style type="text/css"><![CDATA[ |
| 18 table |
| 19 { |
| 20 border-collapse: collapse; |
| 21 direction: ltr; |
| 22 -webkit-writing-mode: vertical-lr; |
| 23 } |
| 24 |
| 25 td |
| 26 { |
| 27 padding: 0px; |
| 28 } |
| 29 |
| 30 td#five |
| 31 { |
| 32 border-bottom-color: green; |
| 33 border-bottom-style: solid; |
| 34 border-bottom-width: 100px; |
| 35 } |
| 36 |
| 37 td#six |
| 38 { |
| 39 border-top-color: red; |
| 40 border-top-style: solid; |
| 41 border-top-width: 100px; |
| 42 width: 100px; |
| 43 } |
| 44 ]]></style> |
| 45 |
| 46 </head> |
| 47 |
| 48 <body> |
| 49 |
| 50 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 51 |
| 52 <table> |
| 53 |
| 54 <tr> |
| 55 <td></td> <td></td> <td></td> |
| 56 </tr> |
| 57 |
| 58 <tr> |
| 59 <td></td> <td id="five"></td> <td id="six"></td> |
| 60 </tr> |
| 61 |
| 62 <tr> |
| 63 <td></td> <td></td> <td></td> |
| 64 </tr> |
| 65 |
| 66 </table> |
| 67 |
| 68 </body> |
| 69 </html> |
OLD | NEW |