css-reference-issues
css-reference-issues copied to clipboard
Mask Module
Hi,
In mask-repeat entry this paragraph is not correct now:
The mask-repeat property works and has the same values as the background-repeat, except that the latter’s initial value is repeat, while the mask-repeat‘s initial value is
no-repeat.
initial value for this property is repeat
https://developer.mozilla.org/en-US/docs/Web/CSS/mask-repeat
And in the mask-mode entry there is no auto
keyword anymore as a value, it's called match-source
now.
https://developer.mozilla.org/en-US/docs/Web/CSS/mask-mode
Also mask-position's initial value is not center
it's at the top left corner:
https://tympanus.net/codrops/css_reference/mask-position/
Hi, thanks for submitting these! Except for the mask-mode "match-source", the other points are still correct regarding the specs: https://drafts.fxtf.org/css-masking-1/#the-mask-repeat https://drafts.fxtf.org/css-masking-1/#the-mask-position
I'm not sure why it's mentioned differently in MDN, any ideas?
Thanks again
It's not only MDN, the implementations on browsers are similar. It seems that they want to change the spec to match the WebKit/Chrome behavior.
Take a look at these: https://github.com/w3c/csswg-drafts/issues/599 https://github.com/w3c/fxtf-drafts/issues/111
Thank you.
Ok, that clarifies it! Thanks for the links, I'll update it as soon as possible.