floats-saturated-position-crash.html (683B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://crbug.com/972904"> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 6 <div style="margin-top:-100000000px;"> 7 <div style="margin-bottom:-100000000px; padding-top: 1px;"></div> 8 text <!-- "text" is placed at the highest possible location due to saturated margin top values. --> 9 <div style="float: left; width: 60px; height: 20px;"></div> 10 <div style="margin-top: 10px;"> 11 <div style="float: left; width: 10px;"></div> 12 <div style="float: left; width: 100px; height: 100px;"></div> 13 </div> 14 </div> 15 16 <script> 17 test(() => { }, 'test passes if it does not crash'); 18 </script>