shape-outside-inset-refcrash.html (1012B)
1 <!DOCTYPE html> 2 <link rel="match" href="../../../../reference/ref-filled-green-100px-square-only.html"> 3 <link rel="help" href="https://crbug.com/962135" /> 4 <meta name="assert" content="This test passes if the renderer does not crash."/> 5 <p>Test passes if there is a filled green square.</p> 6 <div style="width: 100px; height: 100px; display: flow-root; background: green;"> 7 <div style="width: 20px; height: 20px; float: right;"></div> 8 <div style="width: 20px; height: 10px; display: inline-block;"></div> 9 <div style="width: 40px; height: 20px; overflow: hidden;"></div> 10 <div style="width: 20px; height: 10px; display: inline-block;"></div> 11 <div style="width: 50px; height: 50px; float: left; shape-outside: inset(20px 0 0 0);"></div> 12 <div id="target" style="height: 50px; margin: 10px 0;"></div> 13 <div style="width: 20px; height: 10px; display: inline-block;"></div> 14 </div> 15 <script> 16 document.body.offsetTop; 17 document.getElementById('target').style.height = '10px'; 18 document.body.offsetTop; 19 </script>