mdn / mdn/content

Custom element constructor `disabledFeatures` property undocumented

Open
#6,617 3 comments 0 reactions 0 assignees View on GitHub
area: Web Components Content:WebAPI document not written
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

I've been documenting ElementInternals, in the process of this I think that the documentation we have for custom elements may need some updating. In particular I noticed that https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry includes no information about the disable internals, or disable shadow booleans.

https://html.spec.whatwg.org/multipage/custom-elements.html#concept-custom-element-definition-disable-internals

I think it would probably be worth someone taking a look at this content and seeing what else needs updating.

Once updated it would be good to link this to the information about attachInternals in /Web/API/Element/attachInternals

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.