WPT css/css-masking/mask-image/mask-origin-2.html fails
Categories
(Core :: Layout, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Blocks 1 open bug)
Details
WPT https://wpt.fyi/results/css/css-masking/mask-image/mask-origin-2.html fails, with the failure screenshot showing that the colorful box is mis-positioned by a few pixels in each axis.
Based on the failure screenshot, it looks like we're masking the border-box instead of the margin box, or something along those lines. (The testcase has margin: 1px 2px 3px 4px;
and mask-origin: margin-box;
, and at least for the first section, the purple square is visually mispositioned by 1px in the y-axis and off by 4px in the x-axis.)
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:alaskanemily, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 2•2 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #0)
Based on the failure screenshot, it looks like we're masking the border-box instead of the margin box, or something along those lines. (The testcase has [...]
mask-origin: margin-box
I guess we don't support mask-origin:margin-box
, actually. It looks like that value was removed from the spec:
https://drafts.fxtf.org/css-masking-1/#changes
The following changes were made since the 26 August 2014 Candidate Recommendation.
Remove margin-box as possible value from mask-origin and mask-clip.
So the test is wrong and needs to be fixed.
Comment 3•2 years ago
|
||
https://github.com/web-platform-tests/wpt/issues/41166 I have opened an issue on the WPT repo to suggest removing this test.
Comment 4•1 years ago
|
||
The test has now been removed, so I think this bug can be closed
https://github.com/web-platform-tests/wpt/pull/41279
https://wpt.fyi/results/css/css-masking/mask-image?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-cssmasking (Firefox now passes all mask-image/ tests)
Reporter | ||
Comment 5•1 years ago
|
||
Thanks! Closing as MOVED to https://github.com/web-platform-tests/wpt/issues/41166 (and fixed by https://github.com/web-platform-tests/wpt/pull/41279 , hooray!)
Description
•