Closed Bug 1575338 Opened 6 years ago Closed 6 years ago

Underlines intermittently render without ink-skipping, during reftest runs

Categories

(Core :: Layout: Text and Fonts, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(2 files)

For some tests, underlines occasionally render without ink-skipping, despite the fact that we've enabled text-decoration-skip-ink by default (and its default value causes ink-skipping). This is causing intermittent test-failures.

For now we're handling this by adding the CSS text-decoration-skip-ink:none in these tests (in https://hg.mozilla.org/mozilla-central/rev/97d2c2478643 and in commits on subsequent intermittent bugs). I'm filing this bug here to cover the underlying issue (which we don't really understand at this point).

This test's reference case occasionally (intermittetly) fails to do ink
skipping, so let's just turn off the ink-skipping preference for now to
avoid triggering too much intermittent orange.

Seems like we shouldn't be turning on new features that add new non-deterministic behavior like this. I'd think we should figure this out before saying this feature is ready to ship.

Yes, the intermittent nature of the issue is a bit worrying. We need to understand what's happening here.

Blocks: 1573631

This would be a good candidate for a Pernosco investigation, given that it's reproducible on linux.

Or rather, bug 1574031 is probably a good candidate (it's more frequent so probably easier to catch).

Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/243643e83bfc Turn off text-decoration-skip-ink for WPT auto-margins-001.html. r=jfkthame

oops, the patch that I just landed (annotating auto-margins-001.html) was meant for the more-specific bug 1574306. Bug number copypaste error on my part, noticed slightly too late.

No big deal; adding leave-open so we can keep this bug open & tracking the underlying cause.

Keywords: leave-open

(In reply to Daniel Holbert [:dholbert] from comment #4)

This would be a good candidate for a Pernosco investigation, given that it's reproducible on linux.

Has this been seen on debug jobs, or is it opt-only? I can't seem to find any debug failures.... and I tried retriggering a bunch of test runs on https://treeherder.mozilla.org/#/jobs?repo=try&revision=c32707702c8a155ea8424b85298944c6adb14067&selectedJob=262633927 (which does not include the patch here to disable skip-ink), but so far I haven't seen a debug failure, which AIUI means there's nothing for pernosco to get hold of. :(

Seems like it might be worth running one of the failing tests under valgrind to see if it reports reading uninitialized memory.

Daniel, with bug 1574066 landed (well, it's on autoland), could you do a try run re-enabling skip-ink in those tests you disabled it for, and retrigger them a bunch of times to see if they still intermittently fail?

Flags: needinfo?(dholbert)

Yup, I'll do that. Thanks!

Filtered Try run links, showing formerly-affected Linux testrun jobs that contain the tests where we'd previously disabled ink skipping:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0dda703eb537712dbfe9ca023fbbdfcd84ebe58f&searchStr=linux%2Cx64%2Copt%2Cru3
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0dda703eb537712dbfe9ca023fbbdfcd84ebe58f&searchStr=linux%2Cwr4

Looking good, so I'm going to proceed with reenabling ink-skipping for those tests.

(Note that we still have ink-skipping disabled in some tests as of its initial landing, due to bug 1573723, but that bug is less worrisome because it's a deterministic, subtle fuzziness issue rather than an ink-not-being-skipped-at-all issue.)

Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68447f87ca05 followup: Backed out changeset 243643e83bfc to reenable ink-skipping in WPT auto-margins-001.html.ini. (no review, just un-annotating a test)
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
Assignee: nobody → dholbert
Flags: needinfo?(dholbert)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: