Skip to content

Unmark focusin + focusout event implementations as partial - #30409

Merged
caugner merged 2 commits into
mdn:mainfrom
jakearchibald:focusout-fix
Sep 15, 2026
Merged

caugner merged 2 commits into
mdn:mainfrom
jakearchibald:focusout-fix

Conversation

@jakearchibald

@jakearchibald jakearchibald commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This is a bit of a weird one. These are currently marked 'partial' in Chrome & Firefox because they don't support the onfocusout event handler property. However, those properties are nonstandard - they're not defined in the HTML spec.

These events are somewhat spec'd in UI Events, but the handler properties are not.

Although the data guidelines explicitly recommend using partial in these cases, it seems incorrect to apply this rule in cases where the handler property is nonstandard.

Marking other browsers as 'partial' because one browser implements a nonstandard extension to the feature seems… bad.

There was an attempt to add these to the spec, but it stalled in 2024 whatwg/html#10235.

@github-actions github-actions Bot added data:api Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API size:m Pull request changing 25-100 lines of code. labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@caugner caugner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of adding subfeatures, we should be able to unmark the implementations as partial.

The partial implementation guidelines require inconsistent support between browsers, which does not seem to be the case here.

@jakearchibald

Copy link
Copy Markdown
Contributor Author

Fair.

The browser's support does not implement mandatory specified behavior.

…does not apply here.

Comment thread api/Element.json
@caugner caugner changed the title Specify event handler for focusout/in Unmark focusin + focusout event implementations as partial Sep 15, 2026
@caugner
caugner merged commit c11d815 into mdn:main Sep 15, 2026
10 checks passed
@jakearchibald
jakearchibald deleted the focusout-fix branch September 15, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API size:m Pull request changing 25-100 lines of code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants