Re: [csswg-drafts] [css-anchor-position-?] SVG element or coordinate as anchor (#11301)

It'd be exciting to do something like pin an element to a triangle's edge but it'd ameliorate immediate pain just to be able to anchor to a shape's bounding rect (or better, it's center). 

Currently, even without anchor positioning, it's at least possible with css to place an html element with respect to another with absolute positioning and some nesting, but creating that relationship between an html element and an svg element  target requires JS or foreign-object (the later of which is very fraught in my experience). Beyond that the rest of anchor position's capabilities would be gravy.

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


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

Received on Monday, 9 December 2024 13:04:12 UTC