From 6a5bca1302161a84d95313bef1481d9a8a56702c Mon Sep 17 00:00:00 2001 From: Cory Virok Date: Sat, 12 Oct 2024 14:21:17 -0700 Subject: [PATCH] LibWeb: Added tests for missing xmlns during XHMTL parsing The main culprit for the following WPT test failure is that we weren't using the HTML namespace for XHTML docs unless one was explicitly provided. --- .../expected/XHTML/parse-without-xmlns.txt | 1 + .../Text/input/XHTML/parse-without-xmlns.html | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/XHTML/parse-without-xmlns.txt create mode 100644 Tests/LibWeb/Text/input/XHTML/parse-without-xmlns.html diff --git a/Tests/LibWeb/Text/expected/XHTML/parse-without-xmlns.txt b/Tests/LibWeb/Text/expected/XHTML/parse-without-xmlns.txt new file mode 100644 index 00000000000..7ef22e9a431 --- /dev/null +++ b/Tests/LibWeb/Text/expected/XHTML/parse-without-xmlns.txt @@ -0,0 +1 @@ +PASS diff --git a/Tests/LibWeb/Text/input/XHTML/parse-without-xmlns.html b/Tests/LibWeb/Text/input/XHTML/parse-without-xmlns.html new file mode 100644 index 00000000000..6f4ca12c172 --- /dev/null +++ b/Tests/LibWeb/Text/input/XHTML/parse-without-xmlns.html @@ -0,0 +1,20 @@ + + + +