Bug 132985 - [SVG] SVG Path is drawn incorrectly when a coordinate on the path is very large
Summary: [SVG] SVG Path is drawn incorrectly when a coordinate on the path is very large
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-15 18:41 PDT by Nikos Andronikos
Modified: 2022-07-15 16:53 PDT (History)
2 users (show)

See Also:


Attachments
Path with horizontal line example (158 bytes, image/svg+xml)
2014-05-15 18:41 PDT, Nikos Andronikos
no flags Details
Path with vertical line example (158 bytes, image/svg+xml)
2014-05-15 18:41 PDT, Nikos Andronikos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.