You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug 1986710 [wpt PR 54668] - Make ESC lose interest in all elements that have interest, a=testonly
Automatic update from web-platform-tests
Make ESC lose interest in all elements that have interest
This CL implements the behavior described in the spec PR:
whatwg/html#11006
That is: the ESC key is handled very much like popovers - the
focus doesn't need to be on the invoker for ESC to work. Also,
hitting ESC loses interest in all elements that currently
have interest, in reverse order. A test is added to confirm this.
Note: I purposely did not use close watcher here, since I don't
believe the close watcher stack should get involved. E.g. the
android Back button should just navigate back, and not first lose
interest in things. Closing a popover or modal dialog is different
than a tooltip being open on a page.
Bug: 326681249
Change-Id: I33cc2742a677f330d90b83c29b18b22bf49b716e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6900679
Reviewed-by: Joey Arhar <jarharchromium.org>
Auto-Submit: Mason Freed <masonfchromium.org>
Commit-Queue: Mason Freed <masonfchromium.org>
Cr-Commit-Position: refs/heads/main{#1510373}
--
wpt-commits: d2c3a6825856a39ca05b811576676c4488ccf3e1
wpt-pr: 54668
UltraBlame original commit: f1521afeb3e135fd1851d48adc6d81832028011b
0 commit comments