<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>10479</bug_id>
          
          <creation_ts>2006-08-17 21:43:23 -0700</creation_ts>
          <short_desc>-webkit-border with dashed freezes (crashes?) nightly</short_desc>
          <delta_ts>2006-08-21 12:06:11 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>420+</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9202</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lucas Mathew Riutzel">Jackinloadup</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>Jackinloadup</cc>
    
    <cc>mitz</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52892</commentid>
    <comment_count>0</comment_count>
    <who name="Lucas Mathew Riutzel">Jackinloadup</who>
    <bug_when>2006-08-17 21:43:23 -0700</bug_when>
    <thetext>border-top: dashed crashes nightly 

my exact style was &quot;border-top: 3px #FFFFFF dashed;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52893</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-08-17 21:50:30 -0700</bug_when>
    <thetext>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.

&lt;html&gt;
  &lt;head&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div style=&apos;border-top: 3px #FFFFFF dashed&apos;&gt;
      &amp;nbsp;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52968</commentid>
    <comment_count>2</comment_count>
    <who name="Lucas Mathew Riutzel">Jackinloadup</who>
    <bug_when>2006-08-21 00:53:22 -0700</bug_when>
    <thetext>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:

&lt;html&gt;
  &lt;head&gt;
    &lt;style&gt;
      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;
      }
    &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;div id=&quot;header&quot;&gt;
      &lt;div id=&quot;navigation&quot;&gt;
        &amp;nbsp;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52973</commentid>
    <comment_count>3</comment_count>
      <attachid>10139</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-08-21 01:55:12 -0700</bug_when>
    <thetext>Created attachment 10139
test case

Same test as an attachment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52974</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-08-21 01:57:24 -0700</bug_when>
    <thetext>Actually, I got a freeze, not a crash:

300 WebCore::RenderBox::paintBoxDecorations(WebCore::RenderObject::PaintInfo&amp;, 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&amp;, 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
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52977</commentid>
    <comment_count>5</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-08-21 06:27:55 -0700</bug_when>
    <thetext>Bug 9202 talks about the same hang. Basically, it&apos;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&apos;t specify a radius for) and dashed style. This should probably be closed as a duplicate of bug 9202.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53002</commentid>
    <comment_count>6</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-08-21 12:06:11 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 9202 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>10139</attachid>
            <date>2006-08-21 01:55:12 -0700</date>
            <delta_ts>2006-08-21 01:55:12 -0700</delta_ts>
            <desc>test case</desc>
            <filename>dashed-border.html</filename>
            <type>text/html</type>
            <size>600</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CiAgPGhlYWQ+CiAgICA8c3R5bGU+CiAgICAgIGRpdiNoZWFkZXIgewogICAgICAgIGhl
aWdodDogMTAwcHg7CiAgICAgICAgd2lkdGg6IDc1cHg7CiAgICAgICAgLXdlYmtpdC1ib3JkZXIt
Ym90dG9tLXJpZ2h0LXJhZGl1czogMTBweDsKICAgICAgICAtd2Via2l0LWJvcmRlci1ib3R0b20t
bGVmdC1yYWRpdXM6IDEwcHg7CiAgICAgICAgYmFja2dyb3VuZDogI0ZGRjsKICAgICAgfQoKICAg
ICAgI25hdmlnYXRpb24gewogICAgICAgIGhlaWdodDogNTBweDsKICAgICAgICB3aWR0aDogMjVw
eDsKICAgICAgICAtd2Via2l0LWJvcmRlci1ib3R0b20tcmlnaHQtcmFkaXVzOiAxMHB4OwogICAg
ICAgIC13ZWJraXQtYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1czogMTBweDsKICAgICAgICBib3Jk
ZXItdG9wOiAzcHggI0ZGRkZGRiBkYXNoZWQ7CiAgICAgICAgYmFja2dyb3VuZDogI0NDQzsKICAg
ICAgfQogICAgPC9zdHlsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAgICA8ZGl2IGlkPSJoZWFkZXIi
PgogICAgICA8ZGl2IGlkPSJuYXZpZ2F0aW9uIj4KICAgICAgICAmbmJzcDsKICAgICAgPC9kaXY+
CiAgICA8L2Rpdj4KICA8L2JvZHk+CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>