Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-empty-polygon-crash.html

Issue 68263018: [CSS Shapes] Empty polygons with non-zero shape-padding cause an ASSERT crash (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed extra shape-outside test file Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <!--
4 This is a regression test for https://code.google.com/p/chromium/issues/detail?i d=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: 5p x; }
10 #margin-empty-polygon-2vertex { shape-inside: polygon(1px 2px, 3px 4px); shape-m argin: 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698