From c1b29e7cc46d62192c3e73887609190febc0746e Mon Sep 17 00:00:00 2001 From: sideshowbarker Date: Sat, 7 Dec 2024 16:33:08 +0900 Subject: [PATCH] Tests: Import the WPT accname/basic.html test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change imports the https://wpt.live/accname/basic.html — which we had overlooked earlier when importing all the other WPT accname tests. (Note that this one of the six upstream WPT tests that directly call test_driver.get_computed_label(element) — and so that we’d otherwise need to patch our copy of, if we weren’t patching it in testdriver.js). --- .../expected/wpt-import/accname/basic.txt | 7 ++++ .../Text/input/wpt-import/accname/basic.html | 32 +++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/wpt-import/accname/basic.txt create mode 100644 Tests/LibWeb/Text/input/wpt-import/accname/basic.html diff --git a/Tests/LibWeb/Text/expected/wpt-import/accname/basic.txt b/Tests/LibWeb/Text/expected/wpt-import/accname/basic.txt new file mode 100644 index 00000000000..b4f035296cc --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/accname/basic.txt @@ -0,0 +1,7 @@ +Harness status: OK + +Found 2 tests + +2 Pass +Pass tests labelFrom: author +Pass tests labelFrom: contents \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/accname/basic.html b/Tests/LibWeb/Text/input/wpt-import/accname/basic.html new file mode 100644 index 00000000000..173807754d2 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/accname/basic.html @@ -0,0 +1,32 @@ + + + + + + + + + +
+

test heading

+