fixup-dynamic-anonymous-table-001.html (668B)
1 <!DOCTYPE html> 2 <title>CSS Test: CSS Tables fixup merge anonymous 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 width: 50px; 10 height: 100px; 11 background-color: green; 12 } 13 </style> 14 <p>Test passes if there is a filled green square.</p> 15 <div> 16 <span class="cell"></span> 17 <span id="rm">Remove me</span> 18 <span class="cell"></span> 19 </div> 20 <script> 21 rm.offsetTop; 22 rm.remove(); 23 </script>