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)

Summarizing some offline discussions:

* Maybe we can just say that `::view-transition-new`'s `pointer-events: auto` means forward events to the element. Then the two options is don't change anything else or set everything (vt pseudos) to have `pointer-events: none` by default. My personal preference is the former.
* Map the same event properties that would be mapped if the element intersected was affected by a transform. In other words, for the purposes of hit testing, pretend the `view-transition-new` element is the real element that's been transformed to this position.

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


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

Received on Wednesday, 23 July 2025 03:36:10 UTC