Bug 132985

Summary: [SVG] SVG Path is drawn incorrectly when a coordinate on the path is very large
Product: WebKit Reporter: Nikos Andronikos <nikos.andronikos>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, zimmermann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Path with horizontal line example
none
Path with vertical line example none

Description Nikos Andronikos 2014-05-15 18:41:04 PDT
Created attachment 231548 [details]
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
Comment 1 Nikos Andronikos 2014-05-15 18:41:39 PDT
Created attachment 231549 [details]
 Path with vertical line example
Comment 2 Brent Fulgham 2022-07-15 16:53:41 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.