Re: [csswg-drafts] [css-view-transitions-2] Figure out a way to make hit-testing work on live (new) elements during a view transition (#10930)

> > Does it? This is doable today in userland, it's just geometry mapping between where the element should be and where the pseudo element is.
> 
> I'm a bit skeptical that it's "just" a geometry mapping if you also have to map clicks on children or account for features like nested view transitions.

I think it actually no more than geometry projection. In the end there is a quad somewhere on that screen that is a projection of the content of the originating element based on its border box. Nested view transitions don't change that, and that rectangle can be mapped to the element's non-participating descendants if needed.

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


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

Received on Friday, 20 September 2024 16:52:55 UTC