Re: [csswg-drafts] [css-view-transitions-1] Define behaviour when capturing image for a large element. (#8561)

> > Think of a 500x10000 DIV with transform: rotateX(85deg). It would have most or all of its pre-transformed 5m pixels "in viewport".
> 
> I didn't follow this. Was trying the test case [here](https://jsbin.com/mafewejoci/edit?html,output) but I'm likely misunderstanding what you said. This does bring up a good point that when we say "visible area in the viewport", we mean an intersection between the snapshot root and the element's quad based on its screen space transform. 

A simpler case: a DIV with `scale(0.02)`. It might have infinite pre-transform pixels, all of which are "visibile in the viewport". See https://codepen.io/noamr-the-selector/pen/VwEXPbR

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


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

Received on Tuesday, 9 May 2023 08:35:42 UTC