absolute-tables-011.tentative.html (725B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://drafts.csswg.org/css-tables-3/#abspos"> 3 <link rel="help" href="https://crbug.com/1122428"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 5 <meta name="assert" content="When sizing abspos tables, the given available-size can never exceed the available-size of the containing-block."> 6 <style> 7 div { 8 position: relative; 9 width: 100px; 10 height: 100px; 11 } 12 table { 13 background: green; 14 height: 100px; 15 position: absolute; 16 border-spacing: 0; 17 color: transparent; 18 } 19 </style> 20 <p>Test passes if there is a filled green square.</p> 21 <div style="margin-left: -100px;"> 22 <table style="right: -100px;"> 23 <td>X X X X X X X X X</td> 24 </table> 25 </div>