diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:29 +0000 |
commit | 59203c63bb777a3bacec32fb8830fba33540e809 (patch) | |
tree | 58298e711c0ff0575818c30485b44a2f21bf28a0 /testing/web-platform/tests/interfaces/html.idl | |
parent | Adding upstream version 126.0.1. (diff) | |
download | firefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip |
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/interfaces/html.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/html.idl | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/testing/web-platform/tests/interfaces/html.idl b/testing/web-platform/tests/interfaces/html.idl index 2f97e4dd60..aad8994b87 100644 --- a/testing/web-platform/tests/interfaces/html.idl +++ b/testing/web-platform/tests/interfaces/html.idl @@ -1245,6 +1245,7 @@ interface HTMLTemplateElement : HTMLElement { [CEReactions] attribute DOMString shadowRootMode; [CEReactions] attribute boolean shadowRootDelegatesFocus; [CEReactions] attribute boolean shadowRootClonable; + [CEReactions] attribute boolean shadowRootSerializable; }; [Exposed=Window] @@ -1579,7 +1580,6 @@ interface OffscreenCanvas : EventTarget { [Exposed=(Window,Worker)] interface OffscreenCanvasRenderingContext2D { - undefined commit(); readonly attribute OffscreenCanvas canvas; }; @@ -2292,6 +2292,27 @@ interface mixin WindowOrWorkerGlobalScope { Window includes WindowOrWorkerGlobalScope; WorkerGlobalScope includes WindowOrWorkerGlobalScope; +partial interface Element { + [CEReactions] undefined setHTMLUnsafe(HTMLString html); + DOMString getHTML(optional GetHTMLOptions options = {}); + + [CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML; + [CEReactions] attribute [LegacyNullToEmptyString] HTMLString outerHTML; + [CEReactions] undefined insertAdjacentHTML(DOMString position, HTMLString string); +}; + +partial interface ShadowRoot { + [CEReactions] undefined setHTMLUnsafe(HTMLString html); + DOMString getHTML(optional GetHTMLOptions options = {}); + + [CEReactions] attribute [LegacyNullToEmptyString] HTMLString innerHTML; +}; + +dictionary GetHTMLOptions { + boolean serializableShadowRoots = false; + sequence<ShadowRoot> shadowRoots = []; +}; + [Exposed=Window] interface DOMParser { constructor(); @@ -2307,12 +2328,8 @@ enum DOMParserSupportedType { "image/svg+xml" }; -partial interface Element { - [CEReactions] undefined setHTMLUnsafe(HTMLString html); -}; - -partial interface ShadowRoot { - [CEReactions] undefined setHTMLUnsafe(HTMLString html); +partial interface Range { + [CEReactions, NewObject] DocumentFragment createContextualFragment(HTMLString string); }; [Exposed=Window] |