| Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-empty-polygon-crash.html
|
| diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-empty-polygon-crash.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-empty-polygon-crash.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..387aa78a07d8c3e102341db6236a8a26632b21e0
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-empty-polygon-crash.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<!--
|
| +This is a regression test for https://code.google.com/p/chromium/issues/detail?id=319069
|
| +-->
|
| +<head>
|
| +<style>
|
| +#margin-empty-polygon-0vertex { shape-inside: polygon(); shape-margin: 5px; }
|
| +#margin-empty-polygon-1vertex { shape-inside: polygon(1px 2px); shape-margin: 5px; }
|
| +#margin-empty-polygon-2vertex { shape-inside: polygon(1px 2px, 3px 4px); shape-margin: 5px; }
|
| +</style>
|
| +<body>
|
| + <div>This test should not crash.</div>
|
| + <div id="margin-empty-polygon-0vertex">Zero</div>
|
| + <div id="margin-empty-polygon-1vertex">One</div>
|
| + <div id="margin-empty-polygon-2vertex">Two</div>
|
| + <script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|