[css-ui] State that pointer-events: none
on frame prevents hit-testing its contents
#7069
Labels
css-ui-4
Current Work
https://drafts.csswg.org/css-ui-4/#valdef-pointer-events-none defines
pointer-events: none
asThis should make it explicit that if you have something like
Then hit-testing will skip the button inside the iframe, even if it has
pointer-events: auto
(CSS properties don't inherit into iframes).We already have interoperability among Blink, WebKit and Gecko. They behave as desired.
And this is important for
inert
: if the iframe becomes inert, it getspointer-events: none
per #6685 (comment), and this should prevent interaction with its contents, even if they aren't marked as inert.The text was updated successfully, but these errors were encountered: