SVG arc path segments are broken

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
6 years ago
4 years ago

People

(Reporter: darktrojan, Assigned: jwatt)

Tracking

({regression})

Trunk
regression
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox5 unaffected)

Details

(Whiteboard: nominated by bz near comment 2)

Attachments

(3 attachments)

(Reporter)

Description

6 years ago
Created attachment 533172 [details]
SVG circle

This SVG file (created in Inkscape) should display a circle. Instead it looks like the top half has been moved to the right.
(Reporter)

Comment 1

6 years ago
Created attachment 533176 [details]
Screenshot in Nightly

This screenshot is on Nightly (6.0) - I'm told on IRC that it doesn't occur on 5.0, and can confirm it doesn't in 4.0.
(Reporter)

Updated

6 years ago
Keywords: regression, regressionwindow-wanted
Looks like this regressed in http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=45b20f137549&tochange=46fdf12082d4

jwatt?  You have some path changes in there.
Blocks: 589648
status-firefox5: --- → unaffected
tracking-firefox6: --- → ?
Keywords: regressionwindow-wanted
(Assignee)

Comment 3

6 years ago
Thanks for the bug report and nice reduced testcase, Geoff! I'll look into this.
(Assignee)

Updated

6 years ago
Summary: This SVG should look like a circle; doesn't. → Relative SVG arc path segments are broken
(Assignee)

Comment 4

6 years ago
Created attachment 533240 [details] [diff] [review]
patch
Assignee: nobody → jwatt
Status: NEW → ASSIGNED
Attachment #533240 - Flags: review?(longsonr)

Comment 5

6 years ago
Comment on attachment 533240 [details] [diff] [review]
patch


Can you do a reftest? Don't forget to specify shape-rendering="crispEdges" since we're dealing with curves.
Attachment #533240 - Flags: review?(longsonr) → review+
(Assignee)

Comment 6

6 years ago
Pushed http://hg.mozilla.org/mozilla-central/rev/202c87382b20 (with test).

Thanks again, Geoff.
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Summary: Relative SVG arc path segments are broken → SVG arc path segments are broken

Comment 7

6 years ago
Do you need to land this on Aurora too as it's a regression there isn't it?
(Assignee)

Comment 8

6 years ago
No, Aurora's fine. Thanks for checking though.

Updated

6 years ago
Whiteboard: nominated by bz near comment 2
Clearing tracking 6 flag since this landed before Fx 6 Aurora was cut.
tracking-firefox6: ? → ---

Updated

5 years ago
Depends on: 792058
You need to log in before you can comment on or make changes to this bug.