Skip to content

Customized built-in elements #1152

Closed
Closed

Description

@dandclark

Description

Customized builtins allow developers to create customized elements that extend the behavior of native HTML elements.
https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example

Lack of WebKit support is the main barrier preventing developers from relying on this feature.

Specification

https://html.spec.whatwg.org/multipage/custom-elements.html#customized-built-in-element

web-feature

https://web-platform-dx.github.io/web-features-explorer/features/customized-built-in-elements/

Test Links

https://wpt.fyi/results/custom-elements/builtin-coverage.html
https://wpt.fyi/results/custom-elements/customized-built-in-constructor-exceptions.html
https://wpt.fyi/results/custom-elements/parser
https://wpt.fyi/results/custom-elements/reactions/customized-builtins

Additional Signals

Activity

  1. github-actions commented on Sep 24, 2025

    @github-actions

    This comment was automatically generated based on the information you provided. Please don't edit it.

    Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
    If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
    To find feature IDs, use the web-features explorer.

    Feature Customized built-in elements

  2. LeaVerou commented on Oct 7, 2025

    @LeaVerou
    Member
  3. LeaVerou commented on Oct 17, 2025

    @LeaVerou
    Member

    Reporting from the preliminary State of HTML 2025 results here! 🙋🏽‍♀️

    When we ranked all submitted Interop 2026 proposals by number of freeform pain points mentioning the feature across the entire survey, customizing or wrapping built-ins came up 3rd among new proposals and 5th when carryovers were included.

    While the absolute number of pain points is not tremendous (46), note that these are in excess of the multiple-choice web components pain points question asking them to select their top 3 web components pain points, in which question customizing built-ins came 4th with 784 votes (and those above it were broad pain point areas, not web features: complexity, reliance on JS, and accessibility).

    One caveat is that this includes all complaints about the inability to extend natives, not only about is or any other particular proposal for doing so.

    Sample of quotes

    There's only a handful of extensible elements. And that doesn't include tables or inputs. It would actually be really nice to have a WC that extended a table directly.

    Against all initial HTML philosophy, I guess. Should have been done in some completely different way: always build on existing elements and progressively enhance them.

    The "is" attribute for declaring elements like <button> to be custom elements - it can be polyfilled, but Apples lack of support makes me hesitant to use it

    We need the ability to create custom elements that inherit the native functionality of built in elements such as buttons, anchors, dialogs... etc.

    I don’t mind custom built-in elements, largely because they don’t really do anything except add a better separation of concerns. However, it looks like Safari will never implement them. So what’s their future?

    extended custom elements because of safari, but still using it anyway. probably will be fixed with custom attributes.

    Webkit not implementing customized built-ins (the "is" attribute), and no alternate solution (i.e. mixins) available

    Native elements extensions for web components mostly because we are trying to avoid global polyfills

    Apple's refusal to support customising built-in components significantly reduces their usefulness

    Extending native elements: Native elements need to be recreated entirely to add one feature.

    The fact that you have to re-create an entire element just to add a new feature is a pain

    Missing Feature in Safari Browser for <... is="my-web-component" ... />

    Unable to extend native element functionality with custom elements

    Safari doesn't support Customized built-in elements, Safari bad..

    There is still no clear strategy of extending native elements

    I want to use the is attribute to extend existing elements

    Custom Built-In Elements. Will Safari ever implement them?

    Customized built-in elements due to lack of Safari support

    Forget extending, no way to even wrap native elements

    is= attribute for customizing built-in elements

  4. wpt-interop commented on Feb 12, 2026

    @wpt-interop
    Collaborator

    Thank you for proposing Customized built-in elements for Interop 2026.

    We want to let you know it was not selected to be part of Interop this year.

    On behalf of the entire Interop team, thank you for submitting it for consideration. We got many more proposals than we could include in this year's project, necessitating some difficult choices. Please note this should not be taken as a comment on the technology as a whole, or our willingness to consider it for Interop in the future. We appreciate the work you put into your proposal, and would welcome your participation in future rounds of Interop.

    Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus-area-proposal

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions