| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <!-- | |
| 4 This is a regression test for https://code.google.com/p/chromium/issues/detail?i
d=344359 | |
| 5 | |
| 6 The test is similar to shape-inside-multiple-segment-polygon-floating-iframe-inl
ine-content-crash.html, | |
| 7 exept this test doesn't test updating the segments for the shape-inside in LineW
idth::fitBelowFloats() after | |
| 8 the the float, but tests BreakingContextInlineHeaders.h:updateSegmentsForShapes. | |
| 9 --> | |
| 10 <head> | |
| 11 <style> | |
| 12 iframe { | |
| 13 float: right; | |
| 14 shape-outside: content-box; | |
| 15 } | |
| 16 body { | |
| 17 shape-inside: polygon(99999999px 0px, 999px 0px, 88px 0px, 0px 99999px, 99px
0px, 76px 0px, 0px 99999px); | |
| 18 } | |
| 19 </style> | |
| 20 <body> | |
| 21 <iframe></iframe>X | |
| 22 | |
| 23 <div>This test should not crash.</div> | |
| 24 <script> | |
| 25 if (window.testRunner) | |
| 26 testRunner.dumpAsText(); | |
| 27 </script> | |
| 28 </body> | |
| 29 </html> | |
| OLD | NEW |