From 18985600cb8af031183e52b5fc76237827a84be0 Mon Sep 17 00:00:00 2001
From: Mason Freed HTMLTemplateElement
.template
element's content model, since its content model is defined as nothing.
The shadowRoot
attribute on HTMLTemplateElement is present for feature detection
+ of declarative Shadow DOM:
<script>
+ function supportsDeclarativeShadowDOM() {
+ return HTMLTemplateElement.prototype.hasOwnProperty("shadowRoot");
+ }
+</script>
+
For example, consider the following document:
@@ -59193,6 +59203,9 @@ interface HTMLTemplateElement : HTMLElement { property is true, then thecontent
attribute must return
null instead.
+ The shadowroot
IDL attribute must return
+ its base Element's shadowroot value.
+
The cloning steps for a template