OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <p>There should be a blue square below.</p> |
| 3 <div style="position:relative; columns:2; column-gap:0; column-fill:auto; width:
200px; height:100px;"> |
| 4 <div id="elm" style="margin-top:150px; height:100px; background:blue;"></div
> |
| 5 </div> |
| 6 <script src="../resources/testharness.js"></script> |
| 7 <script src="../resources/testharnessreport.js"></script> |
| 8 <script> |
| 9 test(() => { |
| 10 var elm = document.getElementById("elm"); |
| 11 assert_equals(elm.offsetLeft, 100); |
| 12 assert_equals(elm.offsetTop, 0); |
| 13 }, "Margins should collapse with fragmentainer boundaries"); |
| 14 </script> |
OLD | NEW |