Re: [csswg-drafts] [css-values] Clarify fragment URLs resolve against the current tree, not document tree (#3320)

I'm not sure I understand the minutes. @Emilio or @astearns would you mind elaborating?

The idea here is that you want to have a same-node-tree reference, essentially `id(foo)`, but all we have is `url()` so the plan was that `url(#foo)` would have special semantics (i.e., whenever the `url()` argument starts with `#`) and end up being a local reference. This would allow various SVG and CSS features to work better inside shadow trees.

Because to be clear, if they are not treated as local references, you can only target nodes in the main document tree, not the shadow tree.

-- 
GitHub Notification of comment by annevk
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3320#issuecomment-1321774712 using your GitHub account


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

Received on Monday, 21 November 2022 09:42:37 UTC