Re: [csswg-drafts] [css-view-transitions-1] Exposing ink overflow rect bounds to script (#8597)

In general, I think we want to say that `object-view-box` operates on the defined bounds of an image; and if the image has stuff that paints outside it, that's painted outside the measured bounds if it's not clipped. For example, for an SVG image, we want to use the viewbox of the SVG image, but an SVG image has a theoretically infinite canvas, and there can be things drawn outside the viewbox; if we're not clipping to the viewbox rectangle, then you'll see those things. But we shouldn't be measuring them when trying to position the SVG inside a replaced element's content area.

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


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

Received on Monday, 27 March 2023 23:10:48 UTC