Skip to content
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

Add explainer for ElementInternals.type #964

Merged
merged 14 commits into from
Feb 20, 2025

Conversation

sanketj
Copy link
Contributor

@sanketj sanketj commented Feb 14, 2025

The elementInternals.type API was initially proposed here: openui/open-ui#1088 (comment) and accepted by the WHATWG at TPAC. This API provides an improvement over the existing solution for customizable built-ins, ie. extends/is, both in terms of interop (support from Safari) and functionality (shadow trees can be attached to customizable built-ins).

This PR captures this proposal in explainer form, and supports button, submit, reset and label as type values.

@sanketj
Copy link
Contributor Author

sanketj commented Feb 14, 2025

cc: @alexkeng since I wasn't able to add you directly as a reviewer

@sanketj sanketj merged commit dbeaaf4 into main Feb 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants