<?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>132985</bug_id>
          
          <creation_ts>2014-05-15 18:41:04 -0700</creation_ts>
          <short_desc>[SVG] SVG Path is drawn incorrectly when a coordinate on the path is very large</short_desc>
          <delta_ts>2022-07-15 16:53:41 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nikos Andronikos">nikos.andronikos</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1009690</commentid>
    <comment_count>0</comment_count>
      <attachid>231548</attachid>
    <who name="Nikos Andronikos">nikos.andronikos</who>
    <bug_when>2014-05-15 18:41:04 -0700</bug_when>
    <thetext>Created attachment 231548
Path with horizontal line example

Attached are 2 examples using SVG paths.  Depending on the window size the horizontal/vertical line seems to flip the large coordinate from the correct value (which is positive) to a negative value when drawing.

The issue shows up for both test cases in the latest source code checkout of the linux GTK version.
I have only seen the issue occur in the vertical test case under Safari version 7.0.2 (9537.74.9)

Steps to reproduce for the horizontal line:
1. Open the horizontal line test case
2. Resize the width of the window
3. You should see the line flip in the x-axis

Steps to reproduce for the vertical line:
1. Open the vertical line test case
2. Resize the height of the window
3. You should see the line flip in the y-axis</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1009691</commentid>
    <comment_count>1</comment_count>
      <attachid>231549</attachid>
    <who name="Nikos Andronikos">nikos.andronikos</who>
    <bug_when>2014-05-15 18:41:39 -0700</bug_when>
    <thetext>Created attachment 231549
 Path with vertical line example</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884424</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 16:53:41 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox all agree on rendering for this test case. I don&apos;t believe there is any remaining compatibility issue.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>231548</attachid>
            <date>2014-05-15 18:41:04 -0700</date>
            <delta_ts>2014-05-15 18:41:04 -0700</delta_ts>
            <desc>Path with horizontal line example</desc>
            <filename>horizontal_line.svg</filename>
            <type>image/svg+xml</type>
            <size>158</size>
            <attacher name="Nikos Andronikos">nikos.andronikos</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmll
d0JveD0iMCAwIDEwMCAxMDAiPg0KICAgIDxwYXRoIHN0cm9rZT0icmVkIiBzdHJva2Utd2lkdGg9
IjMiIGQ9Ik0gNTAsNTAgTCAzLjMxNTllMDE3LDUwIiAvPg0KPC9zdmc+DQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>231549</attachid>
            <date>2014-05-15 18:41:39 -0700</date>
            <delta_ts>2014-05-15 18:41:39 -0700</delta_ts>
            <desc> Path with vertical line example</desc>
            <filename>vertical_line.svg</filename>
            <type>image/svg+xml</type>
            <size>158</size>
            <attacher name="Nikos Andronikos">nikos.andronikos</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmll
d0JveD0iMCAwIDEwMCAxMDAiPg0KICAgIDxwYXRoIHN0cm9rZT0icmVkIiBzdHJva2Utd2lkdGg9
IjMiIGQ9Ik0gMjUsMjUgTCAyNiwzLjMxNTllMDE3IiAvPg0KPC9zdmc+DQo=
</data>

          </attachment>
      

    </bug>

</bugzilla>