Re: [csswg-drafts] [css-anchor-1][css-position] Add the “centering” behavior which is now defined as an example in the specs as something built-in (#8979)

The CSS Working Group just discussed `[css-anchor-1][css-position] Add the “centering” behavior which is now defined as an example in the specs as something built-in`, and agreed to the following:

* `RESOLVED: add the anchor-center value`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael_> TabAtkins: The very first example in the spec shows a common use case. Center positioned element over anchor with a bit of safety<br>
&lt;dael_> TabAtkins: If centering would overflow CB we shift you a little off center.<br>
&lt;dael_> TabAtkins: Cool you can express this, but it's a bit complicated. We had an issue to make it easier<br>
&lt;dael_> TabAtkins: Luckily in grid-baed proposal there was an alternative. A new self-alignment value 'anchor-center'<br>
&lt;dael_> TabAtkins: If you're using anchor positioning and are abspos it will attempt to center you over the element in the axis you spec. If strict center causes overflow we'll shift a bit<br>
&lt;dael_> TabAtkins: I have a PR with spec text.<br>
&lt;dael_> TabAtkins: To decide on- live in anchor positioning or alignment? I put in anchor positioning<br>
&lt;dael_> TabAtkins:  few more detailed questions on exact mechanics if no general concerns<br>
&lt;dael_> TabAtkins: Opening the floor for questions<br>
&lt;florian> q?<br>
&lt;dael_> astearns: Seeing +1 in issue. Other opinions<br>
&lt;fantasai> +1 ot adding it, but I haven't had time to review the spec text<br>
&lt;miriam> +1<br>
&lt;una> +1<br>
&lt;dael_> dholbert: Took a quick look and it makes sense to me. Nice to have easy syntax to do the thing people will want<br>
&lt;chrishtr> +1<br>
&lt;florian> +1 to the idea, didn't review the PR yet.<br>
&lt;changseok> +1<br>
&lt;dael_> astearns: I do think makes sense to leave in anchor positioning for now since defined based on anchor properties<br>
&lt;dael_> astearns: Lots of +1s<br>
&lt;dael_> astearns: Objections to adding the anchor-center value<br>
&lt;dael_> RESOLVED: add the anchor-center value<br>
&lt;dael_> astearns: You said there were details. Would it make sense to get PR in and raise separate issues?<br>
&lt;dael_> TabAtkins: That would be good<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8979#issuecomment-1663086600 using your GitHub account


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

Received on Wednesday, 2 August 2023 23:16:26 UTC