-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dialog, autofocus: Do not enqueue elements with autofocus attribute i… #4918
Conversation
…nside a dialog element This fixes whatwg#4788
I know |
Feels a bit weird. Why would we add such special case to the platform |
@smaug---- are you aware that dialog and autofocus already have an interaction? See https://html.spec.whatwg.org/multipage/interactive-elements.html#dialog-focusing-steps |
@smaug---- |
That sounds nicer approach. |
Updated the PR for the new approach. |
…with <dialog>, a=testonly Automatic update from web-platform-tests hmtl: Add a test for an autofocus issue with <dialog> Follows whatwg/html#4918. -- wpt-commits: 64fff8f90cf94701f7631f84d54f882d846eca3a wpt-pr: 19151
…with <dialog>, a=testonly Automatic update from web-platform-tests hmtl: Add a test for an autofocus issue with <dialog> Follows whatwg/html#4918. -- wpt-commits: 64fff8f90cf94701f7631f84d54f882d846eca3a wpt-pr: 19151
…with <dialog>, a=testonly Automatic update from web-platform-tests hmtl: Add a test for an autofocus issue with <dialog> Follows whatwg/html#4918. -- wpt-commits: 64fff8f90cf94701f7631f84d54f882d846eca3a wpt-pr: 19151 UltraBlame original commit: 77642112f19ce4ce97321b0b67fe4d301cf14ac5
…with <dialog>, a=testonly Automatic update from web-platform-tests hmtl: Add a test for an autofocus issue with <dialog> Follows whatwg/html#4918. -- wpt-commits: 64fff8f90cf94701f7631f84d54f882d846eca3a wpt-pr: 19151 UltraBlame original commit: 77642112f19ce4ce97321b0b67fe4d301cf14ac5
…with <dialog>, a=testonly Automatic update from web-platform-tests hmtl: Add a test for an autofocus issue with <dialog> Follows whatwg/html#4918. -- wpt-commits: 64fff8f90cf94701f7631f84d54f882d846eca3a wpt-pr: 19151 UltraBlame original commit: 77642112f19ce4ce97321b0b67fe4d301cf14ac5
…nside a dialog element
This fixes #4788
(See WHATWG Working Mode: Changes for more details.)
/interactive-elements.html ( diff )