Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mask-origin-2.html test uses removed margin-box value for mask-origin #41166

Closed
FormularSumo opened this issue Jul 24, 2023 · 0 comments · Fixed by #41279
Closed

mask-origin-2.html test uses removed margin-box value for mask-origin #41166

FormularSumo opened this issue Jul 24, 2023 · 0 comments · Fixed by #41279

Comments

@FormularSumo
Copy link

https://github.com/web-platform-tests/wpt/blob/master/css/css-masking/mask-image/mask-origin-2.html
Under meta name="assert" the test says

Test checks whether setting mask origin to margin-box works correctly or not.

However according to 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.

This means the attribute was removed on the 5 August 2021 Candidate Reccomendation, and so browsers shouldn't implement it now. I believe this causes Firefox and Safari to fail this test despite correctly implementing other areas of masking that are used in this test. It doesn't look like either of the mask-clip tests use margin-box so it's only this test that's affected.

@nt1m nt1m changed the title mask-origin-2.html test uses removed CSS attribute mask-origin-2.html test uses removed margin-box value for mask-origin Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant