RESOLVED DUPLICATE of bug 9202 10479
-webkit-border with dashed freezes (crashes?) nightly
https://bugs.webkit.org/show_bug.cgi?id=10479
Summary -webkit-border with dashed freezes (crashes?) nightly
Lucas Mathew Riutzel
Reported 2006-08-17 21:43:23 PDT
border-top: dashed crashes nightly my exact style was "border-top: 3px #FFFFFF dashed;"
Attachments
test case (600 bytes, text/html)
2006-08-21 01:55 PDT, Alexey Proskuryakov
no flags
Mark Rowe (bdash)
Comment 1 2006-08-17 21:50:30 PDT
I do not see any crash when using WebKit r15930. Test page is below. Please reopen the bug if you can provide more information -- a page that demonstrates the crash would be ideal. <html> <head> </head> <body> <div style='border-top: 3px #FFFFFF dashed'> &nbsp; </div> </body> </html>
Lucas Mathew Riutzel
Comment 2 2006-08-21 00:53:22 PDT
Sorry after more testing the bug is associated with the -webkit-border features. The crash can be reproduced in the lasted nightly as of 8/21/06 with this code: <html> <head> <style> div#header { height: 100px; width: 75px; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; background: #FFF; } #navigation { height: 50px; width: 25px; -webkit-border-bottom-right-radius: 10px; -webkit-border-bottom-left-radius: 10px; border-top: 3px #FFFFFF dashed; background: #CCC; } </style> </head> <body> <div id="header"> <div id="navigation"> &nbsp; </div> </div> </body> </html>
Alexey Proskuryakov
Comment 3 2006-08-21 01:55:12 PDT
Created attachment 10139 [details] test case Same test as an attachment
Alexey Proskuryakov
Comment 4 2006-08-21 01:57:24 PDT
Actually, I got a freeze, not a crash: 300 WebCore::RenderBox::paintBoxDecorations(WebCore::RenderObject::PaintInfo&, int, int) 300 WebCore::RenderObject::paintBorder(WebCore::GraphicsContext*, int, int, int, int, WebCore::RenderStyle const*, bool, bool) 300 WebCore::RenderObject::drawBorderArc(WebCore::GraphicsContext*, int, int, float, WebCore::IntSize, int, int, WebCore::RenderObject::BorderSide, WebCore::Color, WebCore::EBorderStyle, bool) 300 WebCore::GraphicsContext::drawArc(WebCore::IntRect const&, float, int, int) 300 CGContextDrawPath 300 ripc_DrawPath 300 ripr_Path 300 CGPathApply 300 ripr_path_stroke 300 path_dash_iterate 300 cube_length 300 cube_length
mitz
Comment 5 2006-08-21 06:27:55 PDT
Bug 9202 talks about the same hang. Basically, it's a consequence of division by zero when the arc-painting code is invoked with a zero radius (for one of the corners that you don't specify a radius for) and dashed style. This should probably be closed as a duplicate of bug 9202.
mitz
Comment 6 2006-08-21 12:06:11 PDT
*** This bug has been marked as a duplicate of 9202 ***
Note You need to log in before you can comment on or make changes to this bug.