Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-shapes/shape-outside/supported-shapes/inset/shape-outside-inset-refcrash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="../../../../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="This test passes if the renderer does not crash."/>
<p>Test passes if there is a filled green square.</p>
<div style="width: 100px; height: 100px; display: flow-root; background: green;">
<div style="width: 20px; height: 20px; float: right;"></div>
<div style="width: 20px; height: 10px; display: inline-block;"></div>
<div style="width: 40px; height: 20px; overflow: hidden;"></div>
<div style="width: 20px; height: 10px; display: inline-block;"></div>
<div style="width: 50px; height: 50px; float: left; shape-outside: inset(20px 0 0 0);"></div>
<div id="target" style="height: 50px; margin: 10px 0;"></div>
<div style="width: 20px; height: 10px; display: inline-block;"></div>
</div>
<script>
document.body.offsetTop;
document.getElementById('target').style.height = '10px';
document.body.offsetTop;
</script>