Closed Bug 1824283 Opened 2 years ago Closed 2 years ago

WPT failure in css/css-masking/mask-image/mask-image-2.html

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
113 Branch
Tracking Status
firefox113 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

WPT failure:
https://wpt.fyi/results/css/css-masking/mask-image/mask-image-2.html

We have "Found 2400 pixels different, maximum difference per channel 1"

Likely this is just a case where rounding (of intermediate-in-the-gradient) fractional color-channel values works out slightly differently in these two codepaths, for one reason or another, and it's not really visually perceptible.

side note: 2400 pixels does seem like a lot, but it's just due to the structure of the test that makes the mismatching pixels repeat.

Really, there are only 12 differing positions in the gradient (with maxDifference of 1); and those pixels get stretched across a 100px-wide rect (so 1200 mismatching pixels), and then that rect gets repeated (so 2400 pixels).

Type: defect → task

The 2400px differing pixels may seem like a lot, but really the observed
fuzziness here is pretty minimal; really, it's just 12 distinct points
(stripes) in each of the two 100px-by-100px gradients where we seem to be
rounding differently vs. the reference case, and producing an imperceptible
+/-1 difference in some color channel.

Assignee: nobody → dholbert
Status: NEW → ASSIGNED
Attachment #9324814 - Attachment description: Bug 1824283: Annotate wpt mask-image-2.html with observed fuzziness. r?#layout-reviewers → Bug 1824283: Annotate WPT mask-image-2.html with observed fuzziness. r?#layout-reviewers
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7957a017e897 Annotate WPT mask-image-2.html with observed fuzziness. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39188 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: