Skip to content

Conversation

@Loirooriol
Copy link
Contributor

@Loirooriol Loirooriol commented Feb 11, 2022

Firefox doesn't propagate it. Blink does, but I'm removing it since it
can be a cross-site leak, and blocks fenced frames since it opens a
communication channel. WebKit only propagates it for .focus(), but not
for the selection API.

Note that even if the contents in the nested browsing contexts are not
marked as inert, if the browsing context container is inert, they won't
respond to mouse interactions, and they won't be reached by sequential
navigation.

Fixes #7605.

(See WHATWG Working Mode: Changes for more details.)


/interaction.html ( diff )

Firefox doesn't propagate it. Blink does, but I'm removing it since it
can be a cross-site leak, and blocks fenced frames since it opens a
communication channel. WebKit only propagates it for `.focus()`, but not
for the selection API.

Note that even if the contents in the nested browsing contexts are not
marked as inert, if the browsing context container is inert, they won't
respond to mouse interactions, and they won't be reached by sequential
navigation.

Fixes whatwg#7605.
Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for walking me through the issues over in #7605. Things we should follow up on:

  • Web platform tests for mouse move events
  • Spec changes to make inertness be in terms of pointer-events: none
  • Tests that you can tab out of the iframe as you described in #7605 (comment)

@domenic domenic merged commit da9ea3b into whatwg:main Feb 17, 2022
@Loirooriol
Copy link
Contributor Author

OK thanks. Can you review web-platform-tests/wpt#32817 ?
Then I guess I can make another PR extending the tests that I already added in web-platform-tests/wpt#32810, so that they check mouse events and tabbing out

@Loirooriol Loirooriol deleted the stop-propagating-inertness-into-nested-browsing-contexts branch February 17, 2022 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Stop propagating inertness into nested browsing contexts

2 participants