<?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>57470</bug_id>
          
          <creation_ts>2011-03-30 09:52:29 -0700</creation_ts>
          <short_desc>stroke-linejoin:round fails for 180 degree bends</short_desc>
          <delta_ts>2014-05-14 23:07:34 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://phrogz.net/SVG/test_linejoin_round.xhtml</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Gavin Kistner">gavin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>376409</commentid>
    <comment_count>0</comment_count>
    <who name="Gavin Kistner">gavin</who>
    <bug_when>2011-03-30 09:52:29 -0700</bug_when>
    <thetext>The following SVG element should render as a lozenge/capsule with two rounded ends. Instead, the 180 degree turn causes the right edge to be drawn flat.

&lt;polyline points=&quot;0,0 10,0 -10,0&quot; stroke=&quot;#000&quot; stroke-linecap=&quot;round&quot; stroke-linejoin=&quot;round&quot; stroke-width=&quot;70&quot; /&gt;

Changing one of the y coordinates to non-zero (e.g. 0.1) results in the correct display.

This bug is present in Safari v5.0.4 and the latest nightly Webkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376411</commentid>
    <comment_count>1</comment_count>
      <attachid>87554</attachid>
    <who name="Gavin Kistner">gavin</who>
    <bug_when>2011-03-30 09:53:45 -0700</bug_when>
    <thetext>Created attachment 87554
Simple test case with the reported problematic markup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009459</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2014-05-14 23:07:25 -0700</bug_when>
    <thetext>I don&apos;t see the problem on WebKit for Mac. Should it be platform specific (WebKitGtk/EFL), please reopen the bug and prefix the title with [Cairo].</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>87554</attachid>
            <date>2011-03-30 09:53:45 -0700</date>
            <delta_ts>2011-03-30 09:53:45 -0700</delta_ts>
            <desc>Simple test case with the reported problematic markup.</desc>
            <filename>180_degree_linejoin_round.svg</filename>
            <type>image/svg+xml</type>
            <size>234</size>
            <attacher name="Gavin Kistner">gavin</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgeG1sbnM9Imh0dHA6
Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSItMTAwIC01MCAyMDAgMTAwIj4NCiAgPHBv
bHlsaW5lIHBvaW50cz0iMCwwIDEwLDAgLTEwLDAiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVj
YXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjcwIiAvPg0K
PC9zdmc+
</data>

          </attachment>
      

    </bug>

</bugzilla>