From 7feb8eb5bf02705b04ca6343e6c3f677fd277819 Mon Sep 17 00:00:00 2001 From: Lucien Fiorini Date: Fri, 6 Dec 2024 02:14:40 +0100 Subject: [PATCH] Tests: Import WPT test for firstElementChild namespace in xhtml --- ...ment-firstElementChild-namespace-xhtml.txt | 6 ++++ ...nt-firstElementChild-namespace-xhtml.xhtml | 28 +++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.txt create mode 100644 Tests/LibWeb/Text/input/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.txt new file mode 100644 index 00000000000..15b9a8d9d96 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.txt @@ -0,0 +1,6 @@ +Harness status: OK + +Found 1 tests + +1 Pass +Pass firstElementChild with namespaces \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml new file mode 100644 index 00000000000..d420bfda40d --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/dom/nodes/Element-firstElementChild-namespace-xhtml.xhtml @@ -0,0 +1,28 @@ + + + +firstElementChild with namespaces + + + + +

Test of firstElementChild with namespaces

+
+ +
+
+

The result of this test is +logged above.

+ + +