layout/reftests/table-bordercollapse/349655.html

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
     2 <html>
     3 <head>
     4         <title>Testcase #2 for bug 349655</title>
     5 <style type="text/css">
     6            table table tr { background: yellow; }
     7 </style>
     8 </head>
     9 <body>
    11 <table><tr><th colspan="2"><h5>Tables on the left have no bordercolor attribute. Right side is the same but with bordercolor.</h5></th></tr>
    12 <tr><td>
    13 <table border="1" frame="hsides" rules="none">
    14         <tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
    15 </table>
    16 <br>
    17 <table border="8" frame="hsides" rules="none">
    18         <tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
    19 </table>
    20 <br>
    21 <table border="8" frame="hsides">
    22         <tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
    23 </table>
    24 <br>
    25 <table border="8" rules="none">
    26         <tr><td>border="8" rules="none"</td><td>cell2</td></tr>
    27 </table>
    28 </td><td>
    29 <table bordercolor="red" border="1" frame="hsides" rules="none">
    30         <tr><td>border="1" frame="hsides" rules="none"</td><td>cell2</td></tr>
    31 </table>
    32 <br>
    33 <table bordercolor="red" border="8" frame="hsides" rules="none">
    34         <tr><td>border="8" frame="hsides" rules="none"</td><td>cell2</td></tr>
    35 </table>
    36 <br>
    37 <table bordercolor="red" border="8" frame="hsides">
    38         <tr><td>border="8" frame="hsides"</td><td>cell2</td></tr>
    39 </table>
    40 <br>
    41 <table bordercolor="red" border="8" rules="none">
    42         <tr><td>border="8" rules="none"</td><td>cell2</td></tr>
    43 </table>
    44 </td></tr>
    46 <tr><th colspan="2"><h5>Without "frame"/"rules" attribute.</h5></th></tr>
    47 <tr><td>
    48 <table border="1">
    49         <tr><td>border="1"</td><td>cell2</td></tr>
    50 </table>
    51 <br>
    52 <table border="8">
    53         <tr><td>border="8"</td><td>cell2</td></tr>
    54 </table>
    55 </td><td>
    56 <table bordercolor="red"  border="1">
    57         <tr><td>border="1"</td><td>cell2</td></tr>
    58 </table>
    59 <br>
    60 <table bordercolor="red"  border="8" >
    61         <tr><td>border="8" </td><td>cell2</td></tr>
    62 </table>
    63 </td></tr>
    64 <tr><th colspan="2"><h5>border-collapse</h5></th></tr>
    65 <tr><td>
    66 <table style="border-collapse:collapse" border="1">
    67         <tr><td>border="1"</td><td>cell2</td></tr>
    68 </table>
    69 <br>
    70 <table style="border-collapse:collapse" border="8">
    71         <tr><td>border="8"</td><td>cell2</td></tr>
    72 </table>
    73 </td><td>
    74 <table style="border-collapse:collapse" bordercolor="red"  border="1">
    75         <tr><td>border="1"</td><td>cell2</td></tr>
    76 </table>
    77 <br>
    78 <table style="border-collapse:collapse" bordercolor="red"  border="8" >
    79         <tr><td>border="8" </td><td>cell2</td></tr>
    80 </table>
    81 </td></tr>
    82 <tr><td></td><td>
    83 <h5>bordercolor attribute on other elements</h5>
    84 <table border="8">
    85         <tbody bordercolor="red"><tr><td>TBODY bordercolor</td><td>cell2</td></tr></tbody>
    86 </table><br>
    87 <table border="8">
    88         <tr bordercolor="red"><td>TR bordercolor</td><td>cell2</td></tr>
    89 </table>
    90 <table bordercolor="red" border="8">
    91         <tr><td bordercolor="red">TD bordercolor</td><td>cell2</td></tr>
    92 </table>
    93 </td></tr>
    94 </table>
    96 </body>
    97 </html>

mercurial