layout/reftests/abs-pos/table-internal-4-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 table {
michael@0 6 width: 300px;
michael@0 7 height: 300px;
michael@0 8 background-color: blue;
michael@0 9 }
michael@0 10 td, div {
michael@0 11 margin: 0;
michael@0 12 padding: 0;
michael@0 13 }
michael@0 14 #rel {
michael@0 15 position: relative;
michael@0 16 margin: 0;
michael@0 17 padding: 0;
michael@0 18 height: 1px;
michael@0 19 }
michael@0 20 #abs {
michael@0 21 position: absolute;
michael@0 22 margin: 0;
michael@0 23 padding: 0;
michael@0 24 top: 200.5px;
michael@0 25 left: 25px;
michael@0 26 width: 50px;
michael@0 27 height: 50px;
michael@0 28 background-color: green;
michael@0 29 }
michael@0 30 </style>
michael@0 31 </head>
michael@0 32 <body>
michael@0 33 The green square should not touch the blue square.
michael@0 34 <table>
michael@0 35 <colgroup>
michael@0 36 <col style="width: 15%">
michael@0 37 <col>
michael@0 38 </colgroup>
michael@0 39 <tr>
michael@0 40 <td></td>
michael@0 41 <td></td>
michael@0 42 </tr>
michael@0 43 <tr>
michael@0 44 <td>
michael@0 45 <div id="rel">
michael@0 46 <div id="abs"></div>
michael@0 47 </div>
michael@0 48 </td>
michael@0 49 <td></td>
michael@0 50 </tr>
michael@0 51 </table>
michael@0 52 </body>
michael@0 53 </html>

mercurial