Closed
Bug 1214759
Opened 9 years ago
Closed 9 years ago
layout/generic/test/test_selection_underline.html fails under Skia content from buggy dashed line optimization
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: lsalzman, Assigned: lsalzman)
Details
Attachments
(1 file)
1.49 KB,
patch
|
jrmuizel
:
review+
|
Details | Diff | Splinter Review |
The test layout/generic/test/test_selection_underline.html is currently failing when using Skia as the content backend. This is due to a dashed line optimization in Skia that is applying to the reference but not the test case itself, with slightly different rendering results.
Assignee | ||
Comment 1•9 years ago
|
||
SkDashPathEffects::asPoints fails to apply in some situations. This is because a tangent vector was being normalized and compared exactly to 1. Since normalizing a vector may result in values close-to-but-not-exactly 1, this fails. Skia fixed this upstream by using an inexact comparison, so this is just a straight backport of their fix and shouldn't pose a problem with updates. It makes the effect optimization apply to the test-case so it matches the ref and thus passes.
Attachment #8673796 -
Flags: review?(jmuizelaar)
Updated•9 years ago
|
Attachment #8673796 -
Flags: review?(jmuizelaar) → review+
Assignee | ||
Comment 2•9 years ago
|
||
Try results: https://treeherder.mozilla.org/#/jobs?repo=try&revision=dcb74cb20086
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/92a790ce42a3
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•