[csswg-drafts] [css-anchor-position] Default alignment in center track. (#11803)

fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-anchor-position] Default alignment in center track. ==
> If the only the center region in an axis is selected, or all three regions are selected, the default alignment in that axis is [anchor-center](https://drafts.csswg.org/css-anchor-position-1/#valdef-justify-self-anchor-center).

I'm wondering if the default alignment in the center track should be `center` instead of `anchor-center`.

This makes a difference if the author applies asymmetric insets, e.g. given a 100px anchor, suppose there's a 10px inset on the right. Should the item be centered against the entire anchor, or against the inset area?

I suspect the answer should be the inset area, i.e. `center`. @kizu wdyt?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11803 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 28 February 2025 18:22:12 UTC