- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 02 Aug 2023 23:16:24 +0000
- To: public-css-archive@w3.org
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> <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> <dael_> TabAtkins: If centering would overflow CB we shift you a little off center.<br> <dael_> TabAtkins: Cool you can express this, but it's a bit complicated. We had an issue to make it easier<br> <dael_> TabAtkins: Luckily in grid-baed proposal there was an alternative. A new self-alignment value 'anchor-center'<br> <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> <dael_> TabAtkins: I have a PR with spec text.<br> <dael_> TabAtkins: To decide on- live in anchor positioning or alignment? I put in anchor positioning<br> <dael_> TabAtkins: few more detailed questions on exact mechanics if no general concerns<br> <dael_> TabAtkins: Opening the floor for questions<br> <florian> q?<br> <dael_> astearns: Seeing +1 in issue. Other opinions<br> <fantasai> +1 ot adding it, but I haven't had time to review the spec text<br> <miriam> +1<br> <una> +1<br> <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> <chrishtr> +1<br> <florian> +1 to the idea, didn't review the PR yet.<br> <changseok> +1<br> <dael_> astearns: I do think makes sense to leave in anchor positioning for now since defined based on anchor properties<br> <dael_> astearns: Lots of +1s<br> <dael_> astearns: Objections to adding the anchor-center value<br> <dael_> RESOLVED: add the anchor-center value<br> <dael_> astearns: You said there were details. Would it make sense to get PR in and raise separate issues?<br> <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