fixup-dynamic-anonymous-inline-table-003.html (812B)
1 <!DOCTYPE html> 2 <title>CSS Test: CSS Tables fixup merge anonymous inline table siblings (cell + cell)</title> 3 <link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org"> 4 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 5 <link rel="help" href="https://drafts.csswg.org/css-tables/#fixup-algorithm"> 6 <style> 7 .cell { 8 display: table-cell; 9 } 10 .filler { 11 width: 50px; 12 height: 100px; 13 background-color: green; 14 } 15 </style> 16 <p>Test passes if there is a filled green square.</p> 17 <div style="width:100px"> 18 <span> 19 <span class="cell"> 20 <div class="filler"></div> 21 </span> 22 <span id="rm">Remove me</span> 23 <span class="cell"> 24 <div class="filler"></div> 25 </span> 26 </span> 27 </div> 28 <script> 29 rm.offsetTop; 30 rm.remove(); 31 </script>