Re: [csswg-drafts] [css-view-transitions-1] The ability for authors to re-enable pointer events (#11596)

Proposed direction from internal sync:
- Change the behavior of `pointer-events: auto` in the `::view-transition-new` pseudo element to forward the events to the originating element. This would be the inverse of painting the live snapshot of the element.
- We can probably keep that as the default. If we want to have the current behavior as the default behavior, we can have a UA stylesheet `::view-transition-new(*) { pointer-events: none }` which would make the events fall to the `::view-transition-image-pair` element, and the author can opt-in to the forwarding behavior.

Optionally, in addition, we could transform the actual originating element to match the `::new` pseudo so that its `getBoundingClientRect` calls etc match its visible location.



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


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

Received on Wednesday, 19 March 2025 16:12:42 UTC