ladybird/Libraries/LibWeb/HTML/HTMLTemplateElement.idl
Sam Atkins 37d0741099 LibWeb/HTML: Implement HTMLTemplateElement.content to spec
No real behaviour change - it just means we VERIFY before returning the
value we returned before.
2025-11-27 10:26:13 +00:00

15 lines
712 B
Text

#import <DOM/DocumentFragment.idl>
#import <HTML/HTMLElement.idl>
// https://html.spec.whatwg.org/multipage/scripting.html#htmltemplateelement
[Exposed=Window]
interface HTMLTemplateElement : HTMLElement {
[HTMLConstructor] constructor();
[ImplementedAs=content_for_bindings] readonly attribute DocumentFragment content;
[Reflect=shadowrootmode, Enumerated=ShadowRootMode, CEReactions] attribute DOMString shadowRootMode;
[Reflect=shadowrootdelegatesfocus, CEReactions] attribute boolean shadowRootDelegatesFocus;
[Reflect=shadowrootclonable, CEReactions] attribute boolean shadowRootClonable;
[Reflect=shadowrootserializable, CEReactions] attribute boolean shadowRootSerializable;
};