Closed Bug 797691 Opened 7 years ago Closed 7 years ago

tweak stroke-dasharray-and-text-01.svg to avoid slight rendering differences

Categories

(Core :: SVG, defect)

ARM
Android
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(2 files)

Attached file reftest log
With the bug 655877 patches applied, stroke-dasharray-and-text-01.svg fails on Android.  This is due to some slight rendering differences in the stroke dashed text (see attached reftest log).  The test is really just checking that the dash pattern is scaled appropriately due to the font size scale factor in use when the page is zoomed, so let's work around the rendering differences.
Attached patch patchSplinter Review
I found that using some rounder numbers and line caps/joins does the trick.
Assignee: nobody → cam
Status: NEW → ASSIGNED
Attachment #667827 - Flags: review?(longsonr)
Attachment #667827 - Flags: review?(longsonr) → review+
https://hg.mozilla.org/mozilla-central/rev/b9336d5fe02e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.