Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-center-coord-positioning-crash.html |
diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-center-coord-positioning-crash.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-center-coord-positioning-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7e03776cb901f4f98b199f908cf2b6ed8177614c |
--- /dev/null |
+++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-center-coord-positioning-crash.html |
@@ -0,0 +1,25 @@ |
+<!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> |