blob: 7e03776cb901f4f98b199f908cf2b6ed8177614c [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
This is a regression test for https://code.google.com/p/chromium/issues/detail?id=457807
-->
<head>
<style>
div { width: 50px; height; 50px; float: right; }
#ellipse-center-coord-outside-refbox0 { shape-outside: padding-box ellipse(closest-side at -75px -80px); }
#ellipse-center-coord-outside-refbox1 { shape-outside: padding-box ellipse(closest-side at 75px 80px); }
#circle-center-coord-outside-refbox0 { shape-outside: padding-box circle(closest-side at -75px -80px); }
#circle-center-coord-outside-refbox1 { shape-outside: padding-box circle(closest-side at 75px 80px); }
</style>
<body>
<div>This test should not crash.</div>
<div id="ellipse-center-coord-outside-refbox0">Zero</div>
<div id="ellipse-center-coord-outside-refbox1">One</div>
<div id="circle-center-coord-outside-refbox0">Two</div>
<div id="circle-center-coord-outside-refbox1">Three</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
</body>
</html>