summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/html.idl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:37 +0000
commita90a5cba08fdf6c0ceb95101c275108a152a3aed (patch)
tree532507288f3defd7f4dcf1af49698bcb76034855 /testing/web-platform/tests/interfaces/html.idl
parentAdding debian version 126.0.1-1. (diff)
downloadfirefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz
firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip
Merging upstream version 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.idl31
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]