Closed
Bug 263909
Opened 20 years ago
Closed 20 years ago
stroke-dasharray parsing wrong
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
DUPLICATE
of bug 103294
People
(Reporter: tor, Unassigned)
Details
Attachments
(1 file)
|
2.03 KB,
image/svg+xml
|
Details |
We treak stroke-dasharray as VARIANT_HOS, which is wrong. Should be dealing with parsing the value at nsCSSParser time rather than at path generation in the frame code.
*** This bug has been marked as a duplicate of 103294 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Parsing must be implemented as described in SVG 1.1 specification http://www.w3.org/TR/SVG11/painting.html#propdef-stroke-dasharray
(In reply to comment #2) > Created an attachment (id=275593) [details] > Example of incorrectly parsed style 'stroke-dasharray' How is this incorrect? We ignore the dasharray on the first path because it's missing a comma, and the specification states: "<dasharray> contains a list of comma-separated (with optional white space) <length>s that specify the lengths of alternating dashes and gaps."
(In reply to comment #3) > (In reply to comment #2) > > Created an attachment (id=275593) [details] [details] > > Example of incorrectly parsed style 'stroke-dasharray' > > How is this incorrect? We ignore the dasharray on the first path because it's > missing a comma, and the specification states: "<dasharray> contains a list of > comma-separated (with optional white space) <length>s that specify the lengths > of alternating dashes and gaps." > Sorry, i was completely wrong. I just confusing about which curve had shown and other SVG viewers which recognize this.
You need to log in
before you can comment on or make changes to this bug.
Description
•