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

Customized Builtins #840

Open
dandclark opened this issue Oct 9, 2024 · 1 comment
Open

Customized Builtins #840

dandclark opened this issue Oct 9, 2024 · 1 comment
Labels
focus-area-proposal Focus Area Proposal

Comments

@dandclark
Copy link
Contributor

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

They are implemented in Blink and Gecko but not WebKit.

Tests:
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

Specification

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

Additional Signals

@EisenbergEffect
Copy link

I thought we reached somewhat of a consensus at TPAC 2023 to work on custom attributes instead, since they would be able to do more than customized built-ins, without the issues that WebKit had raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: No status
Development

No branches or pull requests

2 participants