Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / shapes / shape-outside-floats / shape-outside-floats-empty-polygon-crash.html
blob387aa78a07d8c3e102341db6236a8a26632b21e0
1 <!DOCTYPE html>
2 <html>
3 <!--
4 This is a regression test for https://code.google.com/p/chromium/issues/detail?id=319069
5 -->
6 <head>
7 <style>
8 #margin-empty-polygon-0vertex { shape-inside: polygon(); shape-margin: 5px; }
9 #margin-empty-polygon-1vertex { shape-inside: polygon(1px 2px); shape-margin: 5px; }
10 #margin-empty-polygon-2vertex { shape-inside: polygon(1px 2px, 3px 4px); shape-margin: 5px; }
11 </style>
12 <body>
13 <div>This test should not crash.</div>
14 <div id="margin-empty-polygon-0vertex">Zero</div>
15 <div id="margin-empty-polygon-1vertex">One</div>
16 <div id="margin-empty-polygon-2vertex">Two</div>
17 <script>
18 if (window.testRunner)
19 testRunner.dumpAsText();
20 </script>
21 </body>
22 </html>