Skip to content

Fix inconsistent standard_track for HTML webkitdirectory attribute - #30413

Merged
Elchi3 merged 1 commit into
mdn:mainfrom
BaconMan1168:html-input-webkitdirectory-standard-track
Sep 17, 2026
Merged

Elchi3 merged 1 commit into
mdn:mainfrom
BaconMan1168:html-input-webkitdirectory-standard-track

Conversation

@BaconMan1168

Copy link
Copy Markdown
Contributor

Summary

html.elements.input.webkitdirectory had standard_track: false and no spec_url, while api.HTMLInputElement.webkitdirectory has standard_track: true with a spec_url pointing to the same File and Directory Entries API definition (the spec defines the content attribute and IDL attribute at the same anchor). This aligns the HTML attribute entry with the IDL attribute entry.

This surfaced from mdn/content#45474, where a reviewer noted the content docs and the live HTMLInputElement.webkitdirectory page were giving conflicting standard/non-standard signals for the same attribute.

Test results and supporting details

node lint/lint.js and prettier --check both pass on html/elements/input.json.

Related issues

N/A

html.elements.input.webkitdirectory had standard_track: false and no
spec_url, while the corresponding api.HTMLInputElement.webkitdirectory
entry has standard_track: true with a spec_url to the same WICG File
and Directory Entries API definition. Align the HTML attribute entry
with the IDL attribute entry since both describe the same spec text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P2PaDYUv8Js2URx3GmpfP2
@github-actions github-actions Bot added the data:html Compatibility data for HTML features. https://developer.mozilla.org/docs/Web/HTML label Sep 3, 2026
@github-actions github-actions Bot added the size:xs Pull request changing 0-6 lines of code. label 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).

@BaconMan1168
BaconMan1168 marked this pull request as draft September 10, 2026 00:37
@Elchi3
Elchi3 marked this pull request as ready for review September 17, 2026 09:24

@Elchi3 Elchi3 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you, based on the content discussion in mdn/content#45474 I think this is the right call! 👍

@Elchi3
Elchi3 merged commit d912aad into mdn:main Sep 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:html Compatibility data for HTML features. https://developer.mozilla.org/docs/Web/HTML size:xs Pull request changing 0-6 lines of code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants