- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Apr 2025 19:23:33 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-anchor-position-?] SVG element or coordinate as anchor`, and agreed to the following: * `RESOLVED: Defer to next level` <details><summary>The full IRC log of that discussion</summary> <fantasai> TabAtkins: Request is to allow HTML elements to anchor to SVG sub-elements<br> <fantasai> TabAtkins: a lot of obvious use cases for this, e.g. labels in a chart<br> <fantasai> TabAtkins: use cass seem reasonable<br> <fantasai> TabAtkins: problem is, this breaks some assumptions that browsers currently make about SVG<br> <fantasai> TabAtkins: layout engine considers SVG a replaced element. Doesn't know what happens inside.<br> <fantasai> TabAtkins: so info is not surfaced to layout tree<br> <fantasai> TabAtkins: additoinal problem is, SVG is mostly laid out with transforms, not with positioning<br> <fantasai> TabAtkins: and transforms are still not taken into account with anchorpos (intentionally)<br> <fantasai> TabAtkins: we have an open issue ot think about what cases could be made to work<br> <fantasai> TabAtkins: but in general, it means SVG elements can't tell us their position<br> <bkardell> q+<br> <fantasai> TabAtkins: question about what rectangle to use, we can just use bounding box<br> <iank_> q+<br> <fantasai> TabAtkins: but other two questions make this a hard request to satisfy, even though it has good use cases<br> <fantasai> TabAtkins: I think that means we close no change for now, but leave open possibility in the future<br> <astearns> ack bkardell<br> <fantasai> bkardell: Any time someone says SVG I'm contractually obligated to say "but what about MathML?"<br> <fantasai> iank_: It should all work today<br> <fantasai> iank_: You should test it :)<br> <fantasai> TabAtkins: I think it is a full citizen of the CSS nation<br> <fantasai> ChrisL: It doesn't depend on transforms. Has an in-flow layout model.<br> <astearns> ack iank_<br> <fantasai> iank_: Also a bunch of visual effects that typically apply to SVGs<br> <fantasai> iank_: e.g. displacement filters<br> <fantasai> iank_: It's a whole can of worms<br> <TabAtkins> fantasai: i think at the point people are using filters, it's okay that the position isn't correct<br> <TabAtkins> fantasai: but transforms are integral to svg layout, we'll have to do something about those<br> <TabAtkins> TabAtkins: i want to do something about trasnforms anyway<br> <TabAtkins> fantasai: so it looks like resoliution is "defer to next level"<br> <TabAtkins> TabAtkins: yup<br> <fantasai> astearns: Proposed resolution to defer<br> <fantasai> RESOLVED: Defer to next level<br> <fantasai> astearns: though this may also be deferred from that level<br> <fantasai> TabAtkins: potentially, yeah<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11301#issuecomment-2776723183 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 3 April 2025 19:23:34 UTC