LibWeb/HTML: Implement HTMLTemplateElement.content to spec

No real behaviour change - it just means we VERIFY before returning the
value we returned before.
This commit is contained in:
Sam Atkins 2025-11-27 09:54:47 +00:00
parent a25cb679fb
commit 37d0741099
Notes: github-actions[bot] 2025-11-27 10:27:12 +00:00
3 changed files with 13 additions and 1 deletions

View file

@ -7,7 +7,7 @@ interface HTMLTemplateElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute DocumentFragment content;
[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;