multicol-dynamic-add-002.html (957B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <meta charset="utf-8"> 4 <title>CSS Multi-column Layout Test: Change textContent on flex container in multi-column context</title> 5 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 6 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 7 <link rel="help" href="https://drafts.csswg.org/css-multicol-1/"> 8 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1645714"> 9 <link rel="match" href="multicol-dynamic-add-002-ref.html"> 10 <meta name="assert" content="This test checks that dynamically changing textContent on a flex container in a multi-column context renders correctly."> 11 12 <script> 13 function runTest() { 14 document.body.offsetHeight; 15 16 a.textContent = "f"; 17 18 document.documentElement.removeAttribute("class"); 19 } 20 </script> 21 22 <style> 23 :root { columns: 0px } 24 </style> 25 26 <body onload="runTest();"> 27 <q id="a" style="display: flex"> 28 <small>x</label> 29 <li> 30 </body> 31 </html>