Open
Bug 1630217
Opened 5 years ago
Updated 5 years ago
Consider adding "uncustomized" custom element state
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: edgar, Unassigned)
References
(Blocks 1 open bug)
Details
Right now if there is no CustomElementData means the element is in "uncustomized" state, see https://searchfox.org/mozilla-central/rev/72e3388f74458d369af4f6cdbaeaacb719523b8c/dom/base/CustomElementRegistry.h#86-89.
We could consider,
- Add
eUncustomized
inCustomElementData::State
. - Add an utility function,
GetCustomElementState()
, inElement
which bascially returns the state in CustomElementData, but additionally returnseUncustomized
if there is no CustomElementData.
You need to log in
before you can comment on or make changes to this bug.
Description
•