Status: FAIL | Duration: 11ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-multicol/multicol-span-all-dynamic-add-014.html
<!DOCTYPE html> <html class="reftest-wait"> <meta charset="utf-8"> <title>CSS Multi-column Layout Test: Append a block with column-span descendants to multicol</title> <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> <link rel="help" href="https://drafts.csswg.org/css-multicol-1/#column-span"> <link rel="match" href="multicol-span-all-dynamic-add-014-ref.html"> <script> function runTest() { document.body.offsetHeight; var block3 = document.createElement("div"); block3.innerHTML = "<div>block3</div><h3>spanner2</h3><div>block4</div>"; column.appendChild(block3); document.documentElement.removeAttribute("class"); } </script> <style> #column { column-count: 3; column-rule: 6px solid; column-fill: auto; width: 400px; outline: 1px solid black; } h3 { column-span: all; outline: 1px solid blue; } </style> <body onload="runTest();"> <article id="column"> <div>block1</div> <h3>spanner</h3> <div>block2</div> </article> </body> </html>
/css/css-multicol/multicol-span-all-dynamic-add-014-ref.html
<!DOCTYPE html> <html> <meta charset="utf-8"> <title>CSS Multi-column Layout Reference: Append a block with column-span descendants to multicol</title> <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> <style> #column { column-count: 3; column-rule: 6px solid; column-fill: auto; width: 400px; outline: 1px solid black; } h3 { column-span: all; outline: 1px solid blue; } </style> <body onload="runTest();"> <article id="column"> <div>block1</div> <h3>spanner</h3> <div>block2</div> <div> <div>block3</div> <h3>spanner2</h3> <div>block4</div> </div> </article> </body> </html>