Closed
Bug 729139
Opened 12 years ago
Closed 12 years ago
Sign not dropped from negative arc radiis
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: cork, Assigned: longsonr)
References
()
Details
Attachments
(2 files, 1 obsolete file)
539 bytes,
image/svg+xml
|
Details | |
5.62 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
According to the spec for out-of-range parameters[1] negative radiis should drop there sign. Firefox doesn't do this and instead drops the arc. In the attached testcase the left arc should look the same as the right. [1] http://www.w3.org/TR/SVG11/implnote.html#ArcImplementationNotes
Assignee | ||
Comment 1•12 years ago
|
||
While the implementation notes state that negative radius values should be handled (ie, set by the DOM), the BNF for path data states that only non-negative numbers are allowed in the attribute: http://www.w3.org/TR/SVG/paths.html#PathDataBNF
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 2•12 years ago
|
||
IE, Chrome, Safari and Opera all seem to accept the negative radius in the path data. I think we should accept it too and amend the spec.
Comment 3•12 years ago
|
||
Yeah, I think that's what we should do.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 4•12 years ago
|
||
Filed https://www.w3.org/Graphics/SVG/WG/track/issues/2439.
Any update on this? As far as I can tell there's no response to the w3 issue.
Comment 6•12 years ago
|
||
It's clearly the right thing to do, so I just made the change in the spec: https://svgwg.org/svg2-draft/paths.html#PathDataBNF
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → longsonr
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #665367 -
Flags: review?(jwatt)
Updated•12 years ago
|
Attachment #665367 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Just noticed that arcs were the only user of ParseNonNegativeNumber so the method itself can go.
Attachment #665367 -
Attachment is obsolete: true
Attachment #666182 -
Flags: review?(jwatt)
Updated•12 years ago
|
Attachment #666182 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 9•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=8c668156b4aa
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/da4714c5e564
Flags: in-testsuite+
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/da4714c5e564
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•