out-of-flow-in-multicolumn-108.html (1089B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1399313"> 4 <meta name="assert" content="For a non-OOF variant of this test, see //css/css-break/overflow-clip-007.html"> 5 <style> 6 body { margin: 0; } 7 </style> 8 <div style="columns:3; width:100px; gap:20px; column-fill:auto; height:100px;"> 9 <div style="overflow:clip;"> 10 <div style="position:relative; height:300px;"> 11 <div style="position:absolute; width:100%; height:100000px;"> 12 <div style="height:10050px;"></div> 13 <div id="target" style="height:1000px;"></div> 14 </div> 15 </div> 16 </div> 17 </div> 18 <script src="/resources/testharness.js"></script> 19 <script src="/resources/testharnessreport.js"></script> 20 <script> 21 test(()=> { 22 var rect = target.getBoundingClientRect(); 23 assert_equals(rect.left, 80); 24 assert_equals(rect.top, 9850); 25 assert_equals(rect.width, 20); 26 assert_equals(rect.height, 1000); 27 }, "Overflowing and clipped content doesn't fragment"); 28 </script>