Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / border-collapsing / adjacent-row-groups-expected.html
blob9ad7bf06a2894a6832f05d6a768d7e0f09141170
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 table {border-collapse: collapse;}
7 td { width: 100px; height: 100px; border: 1em solid green; }
8 .orange { border-color: orange; }
9 </style>
10 </head>
12 <body>
13 <p>Test for Bugzilla <a href="https://bugs.webkit.org/show_bug.cgi?id=86885">Bug 86885</a>: CSS2.1 failure: border-conflict-element021a.</p>
14 <p>When two adjacent table row groups (thead, tbody, tfoot) have the same border-width and the same border-style in a 'border-collapse: collapse' table, then the color of the border from the topmost table row group wins: so, a thead wins over a tbody which wins over tfoot.</p>
15 <p>The bottom border of the first (green) box should be completely green in color (including the corners) and overlapping the top border of the second (orange) box. Similarly, the bottom border of the second (orange) box should be completely orange in color (including the corners) and overlapping the top border of the third (green) box.</p>
17 <table>
18 <tr><td></td></tr>
19 <tr><td class="orange"></td></tr>
20 <tr><td></td></tr>
21 </table>
23 </body>
24 </html>