LibWeb: Add HTMLTemplateElement IDL attrs for declarative shadow DOM

This commit is contained in:
Andreas Kling 2024-06-25 10:50:04 +02:00 committed by Andreas Kling
parent 8e68215d33
commit a0e1112209
Notes: sideshowbarker 2024-07-17 05:05:51 +09:00

View File

@ -8,5 +8,8 @@ interface HTMLTemplateElement : HTMLElement {
[HTMLConstructor] constructor();
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;
};