Re: [csswg-drafts] [css-highlight-api][css-anchor-position] Allow `anchor-name` on `::highlight(...)` (#11100)

> The main issue with this is that the boundaries of a highlight pseudo are not well-defined; so properties that need to reference it (e.g. for positioning) aren't currently allowed.

given that anchor positioning has collision avoidance / positioning fallbacks built it, I wonder if that's something we could just look past: even if you don't know exactly where/how big the highlight is, the positioning should still be robust.

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


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

Received on Wednesday, 2 July 2025 15:26:24 UTC