layout/reftests/table-width/conflicting-percent-widths-3.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>
     2 <html>
     3 <head>
     4 <title>Conflicting percent widths on table cells</title>
     5 <style type="text/css">
     7 table, td {
     8   border-spacing: 0;
     9   border: none;
    10   padding: 0;
    11 }
    13 </style>
    14 </head>
    15 <body>
    17 <!-- large percentage effect operates per-column -->
    19 <!-- also depends on truncation of percentages to 100% -->
    21 <table>
    22   <tr>
    23     <td style="background: yellow" width="50%">x</td>
    24     <td style="background: aqua" width="99%">x</td>
    25   </tr>
    26   <tr>
    27     <td style="background: blue" width="50%">x</td>
    28     <td style="background: fuchsia" width="50%">x</td>
    29   </tr>
    30 </table>
    32 <table>
    33   <tr>
    34     <td style="background: blue" width="50%">x</td>
    35     <td style="background: fuchsia" width="50%">x</td>
    36   </tr>
    37   <tr>
    38     <td style="background: yellow" width="50%">x</td>
    39     <td style="background: aqua" width="99%">x</td>
    40   </tr>
    41 </table>
    43 </body>
    44 </html>

mercurial