mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
LibWeb: Visit custom element definitions in CustomElementRegistry
This commit is contained in:
parent
bf8bbea209
commit
90112468ac
2 changed files with 15 additions and 7 deletions
|
@ -36,9 +36,10 @@ private:
|
|||
CustomElementRegistry(JS::Realm&);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
virtual void visit_edges(Visitor&) override;
|
||||
|
||||
// Every CustomElementRegistry has a set of custom element definitions, initially empty. In general, algorithms in this specification look up elements in the registry by any of name, local name, or constructor.
|
||||
Vector<JS::Handle<CustomElementDefinition>> m_custom_element_definitions;
|
||||
Vector<JS::NonnullGCPtr<CustomElementDefinition>> m_custom_element_definitions;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/custom-elements.html#element-definition-is-running
|
||||
// Every CustomElementRegistry also has an element definition is running flag which is used to prevent reentrant invocations of element definition. It is initially unset.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue