Regression(r188105): Seems to have caused crashes during PLT on some iPads
[WebKit-https.git] / LayoutTests / fast / css / border-conflict-element-002.htm
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3     <head>
4         <title>CSS Test: Border Conflict Resolution (element) - cell vs. cell - element with highest priority is the dominant border (rtl table)</title>
5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6         <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#border-conflict-resolution">
7         <meta name="flags" content="">
8         <meta name="assert" content="With adjacent cells of same border-style and width, border collapsing favors the cell furthest to the top right for a 'right-to-left' table.">
9         <meta name="assert" content="This is a corrected version of the CSS suite test, which can sit here until the corrected version is landed upstream. See http://lists.w3.org/Archives/Public/public-css-testsuite/2011Nov/0002.html">
10         <style type="text/css">
11             table
12             {
13                 border-collapse: collapse;
14                 direction: rtl;
15                 height: 2in;
16                 width: 2in;
17             }
18             td
19             {
20                 border: 5px solid black;
21                 direction: ltr;
22             }
23             .collapsing1
24             {
25                 border-right: 5px solid red;
26             }
27             #collapsing2
28             {
29                 border-top: 5px solid red;
30             }
31         </style>
32     </head>
33     <body>
34         <p>Test passes if there is no red visible on the page.</p>
35         <table>
36             <tr>
37                 <td></td>
38                 <td></td>
39                 <td></td>
40             </tr>
41             <tr>
42                 <td></td>
43                 <td class="collapsing1"></td>
44                 <td class="collapsing1"></td>
45             </tr>
46             <tr>
47                 <td></td>
48                 <td id="collapsing2"></td>
49                 <td></td>
50             </tr>
51         </table>
52     </body>
53 </html>