-
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
Update autofocus algorithm #4645
Comments
I think it's done by just adding connected check to the autofocus steps.
We should specify as much as possible to improve interoperability. IMO we should standardize the Firefox behavior. How about changing the first step to:
|
What are you referring to by "the Firefox behavior"? What do other browsers do today? Are you talking about waiting until all pending stylesheets are loaded?? |
It's web-platform-tests/wpt#16780 (comment) . That is to say, Firefox doesn't handle
Neither of WebKit nor Blink do them today. However, I (as a Blink dev) prefer the Firefox behavior.
No in this issue. It's discussed in #3551. |
@bzbarsky Do you think #4645 (comment) is reasonable? |
@smaug---- as well as I hear he has been closer to focus stuff (although @bzbarsky filed some of the initial issues). |
- Run focusing steps after an animation frame - Don't autofocus if the top-level document has focused area - Don't autofocus if one of ancestor document has :target element. This fixes whatwg#3551 and whatwg#4645
I posted a specification PR to resolve this issue: #4763 |
- Run focusing steps after an animation frame - Don't autofocus if the top-level document has focused area - Don't autofocus if one of ancestor document has :target element. This fixes whatwg#3551 and whatwg#4645
HTML: remove autofocused element before its task runs web-platform-tests/wpt#11193
Autofocus test port web-platform-tests/wpt#16780 (comment)
The text was updated successfully, but these errors were encountered: