-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Open
Labels
Description
As per my understanding of the spec, the safe
and unsafe
keywords should alter the behavior of anchor-center
.
Assuming the above is true, we got no coverage for that.
IMO what we should do is to:
- clone the tests like:
https://github.com/web-platform-tests/wpt/blob/master/css/css-anchor-position/anchor-center-htb-htb.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-anchor-position/anchor-center-htb-vrl.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-anchor-position/anchor-center-vrl-vrl.html
https://github.com/web-platform-tests/wpt/blob/master/css/css-anchor-position/anchor-center-vrl-htb.html - change
align-self: anchor-center;
toalign-self: safe anchor-center;
- change
justify-self: anchor-center;
tojustify-self: safe anchor-center;
- adjust expectations
- repeat 1-4 for
unsafe
I'd do this myself, but I'm not 100% sure if I understand correctly how safe
/unsafe
should work in conjunction with anchor-center
.