- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Mon, 13 Mar 2023 14:33:09 +0000
- To: public-fxtf-archive@w3.org
The CSS Working Group just discussed `[motion-1] offset-anchor:auto is nonsensical`, and agreed to the following: * `RESOLVED: offset-position: auto uses offset-anchor point` <details><summary>The full IRC log of that discussion</summary> <fantasai> TabAtkins: When using offset-position: auto; and offset-anchor<br> <fantasai> TabAtkins: offset-position means "start from box's position"<br> <fantasai> TabAtkins: offset-anchor says which point you put on the path<br> <fantasai> TabAtkins: as written, offset-position uses top left corner<br> <fantasai> TabAtkins: offset-anchor uses center<br> <fantasai> TabAtkins: means that by default you get this slight shift<br> <fantasai> TabAtkins: seems bad and weird<br> <fantasai> TabAtkins: I think this is one of the things that fell through the cracks<br> <fantasai> TabAtkins: my proposal is when offset-position: auto is used, we start from the offset-anchor point<br> <fantasai> TabAtkins: so wherever the box is, that's where it will start from<br> <fantasai> TabAtkins: and will start moving from that point instead of shifting a little bit<br> <fantasai> TabAtkins: The examples show that the current behavior is expected, but seems bad<br> <fantasai> +1<br> <fantasai> PROPOSED: offset-position: auto honors offset-anchor<br> <fantasai> florian: Only bit that worries me is that we don't know why we decided the way we did<br> <fantasai> TabAtkins: reason why was probably because we based it on the position stuff<br> <fantasai> TabAtkins: if you wanted a ray from the center, easiest way is left: 50%; top: 50% which puts your left top in the center<br> <fantasai> TabAtkins: to actually center your box, you'd have to use a transform hack<br> <fantasai> TabAtkins: with previous resolution, you could just say ray(at center) and get the behavior you want<br> <fantasai> TabAtkins: I think this was just confluence of a slightly weak feature and interaction with position<br> <fantasai> florian: seems convincing enough<br> <fantasai> RESOLVED: offset-position: auto uses offset-anchor point<br> <fantasai> github: https://github.com/w3c/fxtf-drafts/issues/501<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/501#issuecomment-1466255776 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 13 March 2023 14:33:11 UTC