Some interop tests are failing because they're fuzzy.
Categories
(Core :: Graphics: WebRender, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr153 | --- | unaffected |
| firefox160 | --- | unaffected |
| firefox161 | --- | wontfix |
| firefox162 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Regressed 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(2 external files)
Bug 2088007 made some tests fuzzy in our automation by touching the .ini files. They show as failures on wpt.fyi which means this impacts the interop score tho.
Can we move the fuzziness range to the test itself?
| Assignee | ||
Comment 1•9 days ago
|
||
clip-path-shape-007.html, clip-path-shape-008.html, clip-path-shape-009.html, & clip-path-shape-010.html are the relevant ones.
Comment 2•8 days ago
|
||
Set release status flags based on info from the regressing bug 2088007
Comment 3•8 days ago
|
||
wpt.fyi link for convenience:
https://wpt.fyi/results/css/css-masking/clip-path?label=master&label=experimental&aligned&q=clip-path-shape-0
On wpt.fyi, all four tests seem to fail with the following metrics:
maxDifference: 73
totalPixels: 606
(though in our .ini files, we've got totalPixels marked as 640, so maybe our CI has slightly more pixels being fuzzy for some reason. shrug)
Looking at the failure message, it seems there's a ~two-pixel-thick band around the perimeter of the shape, which has different antialiasing applied (different darknesses of green).
These 4 tests don't currently have any fuzzy annotation in the test at all, so other browsers apparently don't need any fuzzy annotations.
It looks like the reason for the fuzziness is that these 4 tests use the clip-path property whereas their reference case uses an SVG clipPath element, and I guess we give those clipping techniques different treatment now, as of bug 2088007.
| Assignee | ||
Comment 4•8 days ago
|
||
This along with bug 2090316 makes these tests not fuzzy, but we need
gfx.webrender.svg-simple-clips=true too.
So no behavior change for now.
Updated•8 days ago
|
| Assignee | ||
Comment 5•8 days ago
|
||
| Assignee | ||
Comment 6•8 days ago
|
||
So I think comment 4 is the right approach, but it'd need gfx.webrender.svg-simple-clips=true as well to get the right coordinates for the clip...
Comment 7•8 days ago
•
|
||
(In reply to Emilio Cobos Álvarez [:emilio] from comment #6)
it'd need
gfx.webrender.svg-simple-clips=trueas well to get the right coordinates for the clip...
That pref was added (off-by-default) in bug 2070993 / https://phabricator.services.mozilla.com/D325279 .
nical, do we have a plan to get that pref enabled by default (and riding the trains) in the near term?
If there's not a clear path, then maybe we should proactively label the tests as fuzzy (in the tests themselves) as suggested in comment 0, to avoid taking an interop-2026 hit (with the score being finalized in the coming months).
(Given that we're the only ones to need the fuzz and we won't need it forever, perhaps it'd be worth including an explanatory HTML-comment alongside the fuzz annotation, saying that Firefox antialiases edges a bit differently betweenclip-path and SVG clipPath, with a bug link to where we intend to remove that difference, to increase the likelihood that the fuzz gets removed when we no longer need it.)
Updated•8 days ago
|
Comment 9•7 days ago
|
||
We probably need a new bug to track the fact that these WPTs still fail, right?
| Assignee | ||
Comment 10•7 days ago
|
||
Not anymore with https://phabricator.services.mozilla.com/D340535. Sorry, I forgot to push it :)
Comment 11•7 days ago
|
||
Comment 12•7 days ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #7)
nical, do we have a plan to get that pref enabled by default (and riding the trains) in the near term?
Whoops, I didn't see comment 5's patch when posting this^ question. :)
I guess we're good with that landed now, yeah.
Comment 13•7 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b37525ba1f95
https://hg.mozilla.org/mozilla-central/rev/971e2e10f292
Comment 14•7 days ago
|
||
The patch landed in nightly and beta is affected.
:emilio, please make an uplift decision for beta:
- For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set
status-firefox161towontfixif the fix can wait for the next release.
Uplift requests can be submitted from Lando: D340531, D340535.
See Requesting an Uplift for documentation on how to request an uplift.
For more information, please visit BugBot documentation.
Updated•6 days ago
|
Description
•