mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 03:27:15 +02:00
LibWeb: Visit custom element definitions in CustomElementRegistry
This commit is contained in:
committed by
Alexander Kalenik
parent
bf8bbea209
commit
90112468ac
Notes:
sideshowbarker
2024-07-17 00:16:31 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/90112468ac Pull-request: https://github.com/SerenityOS/serenity/pull/23553
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user