-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
[Web API] Element 'focus fixup' rule #25496
Comments
Initial task: Element 'focus fixup' needs understanding if work is needed https://bugzilla.mozilla.org/show_bug.cgi?id=1810077 OK so this is related to spec change whatwg/html#8392 in response to this issue whatwg/html#8225. See 8392 link for specific changes, but you the main ones are:
The way I understand this, the focused area of a document can change based on various factors:
What this spec change does it make it clear what events should fire in these cases and what should end up with focus. Looking at the spec, I think
Where does this leave us? We haven't covered this case elsewhere, so perhaps
I think it is worth noting those things because otherwise developers might expect to always get the blur event, and that does not happen in these cases. I am NOT sure if we need to add a BCD entry. Possibly a subfeature indicating the new behaviour on |
In summary, FF111 changed such that if the element style makes an element ineligible to hold focus it will now lose focus (which will move to the document body/viewport) and emit the blur event. Previously it would hold focus. Action is to add that info to the release note, and also to update docs to reflect what happens when focus is lost - which I did in Status
|
Acceptance Criteria
For folks helping with Firefox related documentation
dev-doc-complete
Features to document
Not sure yet. Probably some documentation on missing use cases not covered in docs.
This is behind pref though:
dom.focus.fixup
Related Gecko bugs
https://bugzilla.mozilla.org/show_bug.cgi?id=1810077
Other
The text was updated successfully, but these errors were encountered: