Closed
Bug 1074475
Opened 12 years ago
Closed 12 years ago
Fix a bug in GetStrokeDashData
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: jwatt, Assigned: jwatt)
References
Details
Attachments
(1 file)
|
1.47 KB,
patch
|
longsonr
:
review+
jwatt
:
checkin+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8497090 -
Flags: review?(dholbert)
| Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 8497090 [details] [diff] [review]
patch
Daniel doesn't seem to be about just now, no switching request to Robert.
Attachment #8497090 -
Flags: review?(dholbert) → review?(longsonr)
| Assignee | ||
Comment 3•12 years ago
|
||
Comment seems a bit broken in the attached patch. Locally I've updated it to:
// If we have a dash pattern with an odd number of lengths the pattern
// repeats a second time, per the SVG spec., and as implemented by Moz2D
// backends. When deciding whether to return eNoStroke or eContinuousStroke
// below we need to take into account that in the repeat pattern the dashes
// become gaps, and the gaps become dashes.
Comment 4•12 years ago
|
||
Comment on attachment 8497090 [details] [diff] [review]
patch
Can you create a reftest for this?
Attachment #8497090 -
Flags: review?(longsonr) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
It's the failure of existing tests caused by the switch to Moz2D for rendering in bug 1074294 (which causes us to end up in this code) that alerted me to this bug.
Comment 6•12 years ago
|
||
In that case it doesn't need additional tests unless you particularly want to add some.
| Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 8497090 [details] [diff] [review]
patch
https://hg.mozilla.org/integration/mozilla-inbound/rev/214c7d44a088
Attachment #8497090 -
Flags: checkin+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in
before you can comment on or make changes to this bug.
Description
•