mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
This brings up to date with the specification for declarative shadow roots: https://github.com/whatwg/html/pull/12267. The `shadowrootslotassignment` attribute on `<template>` elements specifies the slot assignment mode used by the declarative shadow root created by the template. Testing: New tests start to pass --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
17 lines
705 B
Plaintext
17 lines
705 B
Plaintext
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://html.spec.whatwg.org/multipage/#htmltemplateelement
|
|
[Exposed=Window]
|
|
interface HTMLTemplateElement : HTMLElement {
|
|
[HTMLConstructor] constructor();
|
|
|
|
readonly attribute DocumentFragment content;
|
|
[CEReactions] attribute DOMString shadowRootMode;
|
|
[CEReactions] attribute boolean shadowRootDelegatesFocus;
|
|
[CEReactions] attribute DOMString shadowRootSlotAssignment;
|
|
[CEReactions] attribute boolean shadowRootClonable;
|
|
[CEReactions] attribute boolean shadowRootSerializable;
|
|
};
|