HTMLTemplateElement.webidl (999B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. 4 * 5 * The origin of this IDL file is 6 * https://html.spec.whatwg.org/multipage/scripting.html#the-template-element 7 * 8 * Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C 9 * liability, trademark and document use rules apply. 10 */ 11 12 [Exposed=Window] 13 interface HTMLTemplateElement : HTMLElement { 14 [HTMLConstructor] constructor(); 15 16 readonly attribute DocumentFragment content; 17 [CEReactions] 18 attribute DOMString shadowRootMode; 19 [CEReactions, SetterThrows] 20 attribute boolean shadowRootDelegatesFocus; 21 [CEReactions, SetterThrows] 22 attribute boolean shadowRootClonable; 23 [CEReactions, SetterThrows] 24 attribute boolean shadowRootSerializable; 25 [CEReactions, SetterThrows, Pref="dom.shadowdom.referenceTarget.enabled"] 26 attribute DOMString shadowRootReferenceTarget; 27 };