Re: [csswg-drafts] Add API for getting the visible bounding rect an element can be placed inside (#6132)

Why was this closed? `getClippingRect` would be a great addition to the DOM API. We had to write some gymnastics to do this. Just because some API needs to do it itself, doesn't mean we don't need it. If the calculation is done somewhere in the browser's API, make it public.

<img width="2475" alt="Screenshot 2025-01-12 at 14 40 40" src="https://github.com/user-attachments/assets/1575acac-eb56-4c98-ba58-fabb7c031f24" />


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


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

Received on Sunday, 12 January 2025 13:46:45 UTC