From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- ...onstructs-custom-element-in-document-write.html | 43 ++++++ ...er-constructs-custom-element-synchronously.html | 51 +++++++ .../parser-constructs-custom-elements-with-is.html | 51 +++++++ .../parser/parser-constructs-custom-elements.html | 48 +++++++ .../parser-custom-element-in-foreign-content.html | 28 ++++ .../parser-fallsback-to-unknown-element.html | 91 ++++++++++++ .../parser-sets-attributes-and-children.html | 95 +++++++++++++ .../parser/parser-uses-constructed-element.html | 75 ++++++++++ ...rser-uses-create-an-element-for-a-token-svg.svg | 27 ++++ .../parser-uses-registry-of-owner-document.html | 154 +++++++++++++++++++++ ...alizing-html-fragments-customized-builtins.html | 37 +++++ 11 files changed, 700 insertions(+) create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-in-document-write.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-synchronously.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements-with-is.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-custom-element-in-foreign-content.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-fallsback-to-unknown-element.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-sets-attributes-and-children.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-uses-constructed-element.html create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg create mode 100644 testing/web-platform/tests/custom-elements/parser/parser-uses-registry-of-owner-document.html create mode 100644 testing/web-platform/tests/custom-elements/parser/serializing-html-fragments-customized-builtins.html (limited to 'testing/web-platform/tests/custom-elements/parser') diff --git a/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-in-document-write.html b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-in-document-write.html new file mode 100644 index 0000000000..14c830b9ba --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-in-document-write.html @@ -0,0 +1,43 @@ + + + +Custom Elements: Changes to the HTML parser + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-synchronously.html b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-synchronously.html new file mode 100644 index 0000000000..206aa17f20 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-element-synchronously.html @@ -0,0 +1,51 @@ + + + +Custom Elements: Changes to the HTML parser + + + + + + + + +
+ +
+ + +
+
+ + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements-with-is.html b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements-with-is.html new file mode 100644 index 0000000000..96c00278a3 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements-with-is.html @@ -0,0 +1,51 @@ + + + +Custom Elements: Changes to the HTML parser + + + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements.html b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements.html new file mode 100644 index 0000000000..3f13c50a0e --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-constructs-custom-elements.html @@ -0,0 +1,48 @@ + + + +Custom Elements: Changes to the HTML parser + + + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-custom-element-in-foreign-content.html b/testing/web-platform/tests/custom-elements/parser/parser-custom-element-in-foreign-content.html new file mode 100644 index 0000000000..2ae0f1309c --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-custom-element-in-foreign-content.html @@ -0,0 +1,28 @@ + +Custom Elements: Custom element in foreign content + + + + + + + + + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-fallsback-to-unknown-element.html b/testing/web-platform/tests/custom-elements/parser/parser-fallsback-to-unknown-element.html new file mode 100644 index 0000000000..82e970f1ae --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-fallsback-to-unknown-element.html @@ -0,0 +1,91 @@ + + + +Custom Elements: Changes to the HTML parser + + + + + + + + +
+ + + + + + + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-sets-attributes-and-children.html b/testing/web-platform/tests/custom-elements/parser/parser-sets-attributes-and-children.html new file mode 100644 index 0000000000..987bf8525f --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-sets-attributes-and-children.html @@ -0,0 +1,95 @@ + + + +Custom Elements: Changes to the HTML parser + + + + + + + + + + +
+ +hello world + + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-uses-constructed-element.html b/testing/web-platform/tests/custom-elements/parser/parser-uses-constructed-element.html new file mode 100644 index 0000000000..dd98f15cd9 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-uses-constructed-element.html @@ -0,0 +1,75 @@ + + + +Custom Elements: HTML parser must construct a custom element instead of upgrading + + + + + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg b/testing/web-platform/tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg new file mode 100644 index 0000000000..526de0f63f --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-uses-create-an-element-for-a-token-svg.svg @@ -0,0 +1,27 @@ + + +XML parser should use "create an element for a token" + + + + + +
+
diff --git a/testing/web-platform/tests/custom-elements/parser/parser-uses-registry-of-owner-document.html b/testing/web-platform/tests/custom-elements/parser/parser-uses-registry-of-owner-document.html new file mode 100644 index 0000000000..bb256da295 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/parser-uses-registry-of-owner-document.html @@ -0,0 +1,154 @@ + + + +Custom Elements: HTML parser must use the owner document's custom element registry + + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/custom-elements/parser/serializing-html-fragments-customized-builtins.html b/testing/web-platform/tests/custom-elements/parser/serializing-html-fragments-customized-builtins.html new file mode 100644 index 0000000000..6992dd6df6 --- /dev/null +++ b/testing/web-platform/tests/custom-elements/parser/serializing-html-fragments-customized-builtins.html @@ -0,0 +1,37 @@ + + + + + +
+ + -- cgit v1.2.3