Closed Bug 1824783 Opened 2 years ago Closed 2 years ago

Annotate fuzziness in clip-path-shape-circle-003.svg and clip-path-shape-circle-004.svg

Categories

(Core :: SVG, 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)

We and Safari fail clip-path-shape-circle-003.svg and clip-path-shape-circle-004.svg with some fuzzy pixels around a curved edge of a circle:

https://wpt.fyi/results/css/css-masking/clip-path-svg-content/clip-path-shape-circle-003.svg
https://wpt.fyi/results/css/css-masking/clip-path-svg-content/clip-path-shape-circle-004.svg

(Chrome fails by drawing the wrong shape entirely.)

Subtle antialiasing differences along curves (for clipping vs. regular shape drawing) isn't particularly concerning; let's just add a fuzzy annotation.

For clip-path-shape-circle-003.svg:
Firefox:

maxDifference: 64
totalPixels: 171 

Safari:

maxDifference: 64
totalPixels: 184

For clip-path-shape-circle-004.svg:
Firefox:

maxDifference: 64
totalPixels: 67 

Safari:

maxDifference: 63
totalPixels: 76 

Firefox and Safari render these tests with an essentially-identical-looking
testcase and reference case, except for some subtle differences in the pixels
along the curved edges of the circle. These seem to be uninteresting
antialiasing differences between the draw-a-curved-shape-with-solid-fill
vs. mask-a-solid-fill-area-using-a-curved-shape codepaths.

This commit just annotates these tests with a fuzzy tolerance taken from the
observed fuzzy-metrics shown for the test failures on wpt.fyi.

Assignee: nobody → dholbert
Status: NEW → ASSIGNED
See Also: → 1824284
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c6415046d9c Annotate observed fuzziness in WPTs clip-path-shape-circle-003.svg and clip-path-shape-circle-004.svg r=jwatt
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39230 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: