layout/reftests/table-width/colspan-percent-distribution-1.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <html>
     2 <head>
     3 <style type="text/css">
     4   table { width: 200px;             }
     5   td    { border: 1px solid black;  }
     6   td.a  { background: lightgreen;   }
     7   td.b  { background: orange;       }
     9   /* cellspacing=0 cellpadding=0 */
    10   table  { border-spacing: 0 }
    11   td, th { padding: 0 }
    12 </style>
    13 </head>
    14 <body>
    15 <table>
    16   <tr>
    17     <td class="a" colspan="2" width="100%">x</td>
    18     <td class="b">x</td>
    19   </tr>
    20   <tr>
    21     <td/><td/><td/>
    22   </tr>
    23 </table>
    24 </body>
    25 </html>

mercurial