OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <p>There should be a green square below, and no red.</p> |
| 3 <div id="outer" style="columns:2; column-gap:0; width:20px; line-height:20px; ba
ckground:red;"> |
| 4 <div style="columns:1; column-gap:0; background:green;"> |
| 5 <div><br></div> |
| 6 <div style="break-before:column;"><br></div> |
| 7 </div> |
| 8 </div> |
| 9 <script src="../../resources/testharness.js"></script> |
| 10 <script src="../../resources/testharnessreport.js"></script> |
| 11 <script> |
| 12 test(() => { |
| 13 var elm = document.getElementById("outer"); |
| 14 assert_equals(elm.offsetHeight, 20); |
| 15 }, "Inner column count is 1"); |
| 16 </script> |
OLD | NEW |