aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/HTMLTemplateElement.webidl
diff options
context:
space:
mode:
authorbatu_hoang <55729155+longvatrong111@users.noreply.github.com>2025-03-17 17:41:34 +0800
committerGitHub <noreply@github.com>2025-03-17 09:41:34 +0000
commit28c8c1df0ca54299f5e5a88c102ef4653e2d4494 (patch)
tree2347b8c0c272f6049b55893e469d16d5ac5f429a /components/script_bindings/webidls/HTMLTemplateElement.webidl
parentf483a3d34b9f746d619c793af1f05ccbf0c84119 (diff)
downloadservo-28c8c1df0ca54299f5e5a88c102ef4653e2d4494.tar.gz
servo-28c8c1df0ca54299f5e5a88c102ef4653e2d4494.zip
Implement declarative shadow dom (#34964)
* Implement declarative shadow dom Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Set allowDeclarativeShadowRoots false for innerHTML Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Enable allowDeclarativeShadowRoots for Document Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Expose HTMLTemplateElement to js Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Implemenet setHTMLUnsafe and add more test cases Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Declarative shadow dom: minor updates and expected test result update Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Shadow-dom: add more test cases Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Update comments according to the spec Signed-off-by: batu_hoang <longvatrong111@gmail.com> * Bump html5ever version Signed-off-by: batu_hoang <longvatrong111@gmail.com> --------- Signed-off-by: batu_hoang <longvatrong111@gmail.com>
Diffstat (limited to 'components/script_bindings/webidls/HTMLTemplateElement.webidl')
-rw-r--r--components/script_bindings/webidls/HTMLTemplateElement.webidl4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script_bindings/webidls/HTMLTemplateElement.webidl b/components/script_bindings/webidls/HTMLTemplateElement.webidl
index b71d37f4914..4db3283e1c5 100644
--- a/components/script_bindings/webidls/HTMLTemplateElement.webidl
+++ b/components/script_bindings/webidls/HTMLTemplateElement.webidl
@@ -8,4 +8,8 @@ interface HTMLTemplateElement : HTMLElement {
[HTMLConstructor] constructor();
readonly attribute DocumentFragment content;
+ [CEReactions] attribute DOMString shadowRootMode;
+ [CEReactions] attribute boolean shadowRootDelegatesFocus;
+ [CEReactions] attribute boolean shadowRootClonable;
+ [CEReactions] attribute boolean shadowRootSerializable;
};