Why `autofocus` instead of `button.focus()` in this case? `autofocus` is only useful as an HTML attribute, not dynamically.
-
-
Ok thanks :)
-
You might want to check that there is a web-platform-test covering this as well: https://github.com/w3c/web-platform-tests …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.