layout/reftests/abs-pos/table-row-group-7.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

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <style>
michael@0 5 table {
michael@0 6 margin: 0;
michael@0 7 padding: 0;
michael@0 8 width: 25px;
michael@0 9 height: 50px;
michael@0 10 border-collapse: collapse;
michael@0 11 }
michael@0 12 td {
michael@0 13 margin: 0;
michael@0 14 padding: 0;
michael@0 15 }
michael@0 16 #rel {
michael@0 17 position: relative;
michael@0 18 margin: 0;
michael@0 19 padding: 0;
michael@0 20 }
michael@0 21 #abs {
michael@0 22 position: absolute;
michael@0 23 margin: 0;
michael@0 24 padding: 0;
michael@0 25 bottom: 25px;
michael@0 26 right: 25px;
michael@0 27 width: 50px;
michael@0 28 height: 50px;
michael@0 29 background-color: green;
michael@0 30 }
michael@0 31 #bottomright {
michael@0 32 position: absolute;
michael@0 33 margin: 0;
michael@0 34 padding: 0;
michael@0 35 bottom: 0;
michael@0 36 right: 0;
michael@0 37 width: 50px;
michael@0 38 height: 50px;
michael@0 39 overflow: visible;
michael@0 40 background-color: blue;
michael@0 41 }
michael@0 42 </style>
michael@0 43 </head>
michael@0 44 <body>
michael@0 45 The green square should not overlap the blue square.
michael@0 46 <div id="bottomright">
michael@0 47 <table>
michael@0 48 <colgroup>
michael@0 49 <col style="width: 20%">
michael@0 50 <col>
michael@0 51 </colgroup>
michael@0 52 <tbody id="rel">
michael@0 53 <tr>
michael@0 54 <td></td>
michael@0 55 <td></td>
michael@0 56 </tr>
michael@0 57 <tr>
michael@0 58 <td>
michael@0 59 <div id="abs"></div>
michael@0 60 </td>
michael@0 61 <td></td>
michael@0 62 </tr>
michael@0 63 </tbody>
michael@0 64 </table>
michael@0 65 </div>
michael@0 66 </body>
michael@0 67 </html>

mercurial