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

> combine it with any object-view-box specified by the developer

This isn't an option since object-view-box depends on the natural size of the image. This value combined with the natural size gives us the intrinsic size used by layout/paint. So the author being able to specify it by design implies they know the image's natural size which depends on the overflow rect.

So hiding it implies authors are unable to read or set it. I don't have a strong opinion on whether they should be able to, would be good to get a developer opinion on this: @jakearchibald @mirisuzanne @ydaniv.

But if the only reason to hide it is that its currently undefined in the spec, then I err on just defining it given that other features like IntersectionObserver do need it to be defined.

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


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

Received on Tuesday, 21 March 2023 17:05:38 UTC