Re: [csswg-drafts] [css-view-transitions-1] Simplify definition of hit testing during "rendering suppression for view transitions" (#10045)

> @nt1m updated the title since this is just about how hit testing works in this mode.

Is there a place where the rest of this mode is defined? So far I only saw the hit testing definition.

> > Something like "the document acts as if pointer-events: none was set on the document element".
> 
> 
> 
> It's more like the opposite, its as-if all elements other than the document element have pointer-events: none so the only element which can consume the event is the document element. I'm not sure how to set it up in UA CSS such that it's not overridden by author CSS.

I guess you could have `*:not(:root) { pointer-events: none !important }` where !important prevents the rule from getting overridden?




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


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

Received on Thursday, 7 March 2024 21:29:17 UTC