-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Autofocus test port #16780
Autofocus test port #16780
Conversation
Ah, buttons are just not programmatically focusable in Safari. I will use textboxes. Edit: that doesn't make a difference; Safari still doesn't autofocus. They seem to fail a lot of sibling web platform tests... |
Filed https://bugs.webkit.org/show_bug.cgi?id=197794 for the Safari not firing |
Firefox might think the explicit
I know Firefox also ignores autofocus if the page is loaded with a fragment. crbug.com/382901 |
@annevk, maybe @smaug----, what do you think we should do here? I guess the "optionally return" steps, by a strict reading, make most testing of autofocus="" impossible. |
I filed a specification issue: whatwg/html#4645 |
Overtaken by whatwg/html#4763 and associated test PR. |
Supercedes #9440.
@annevk, I am hoping you and @tkent-google can be my review-buddies for these things.
This test fails in Firefox and Safari:
I think of the three behaviors, the spec/Chrome behavior is the most reasonable, so I'd like to merge this and file bugs. Let me know if folks disagree. /cc @smaug---- @cdumez.