Closed Bug 1074475 Opened 12 years ago Closed 12 years ago

Fix a bug in GetStrokeDashData

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

No description provided.
Attached patch patch — — Splinter Review
Attachment #8497090 - Flags: review?(dholbert)
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)
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 on attachment 8497090 [details] [diff] [review] patch Can you create a reftest for this?
Attachment #8497090 - Flags: review?(longsonr) → review+
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.
Blocks: 1074294
In that case it doesn't need additional tests unless you particularly want to add some.
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.

Attachment

General

Created:
Updated:
Size: