Contact emails
Explainer
Specification
No information provided
Summary
This feature introduces "Platform-Provided Behaviors" to ElementInternals, allowing custom elements to adopt native behaviors without extending native elements or reimplementing complex logic. It modifies attachInternals to accept a list of behaviors, starting
with HTMLSubmitButtonBehavior, which wires up form submission on activation.
Blink component
Web Feature ID
Missing feature
Motivation
Custom element authors can't access native behaviors that are built into native HTML elements. This forces them to either: use customized built-ins (is/extends syntax), which have Shadow DOM limitations and can't use the ElementInternals API; try to reimplement
native logic in JavaScript, which is error-prone, often less performant, and cannot replicate certain platform-internal behaviors; or accept that their custom elements simply can't do what native elements can do. This creates a gap between what's possible
with native elements and custom elements, limiting web components and forcing developers into suboptimal patterns.
Initial public proposal
Requires code in //chrome?
False
Tracking bug
Estimated milestones
No milestones specified
Link to entry on the Chrome Platform Status