From bbba484a7e3066dbf910be3266c7ec677759d3e9 Mon Sep 17 00:00:00 2001 From: MacDue Date: Sat, 17 Feb 2024 23:43:57 +0000 Subject: [PATCH] Tests/LibWeb: Test hit testing in XML .svg files does not crash --- .../hit-testing-an-xml-svg-should-not-crash.txt | 1 + .../hit-testing-an-xml-svg-should-not-crash.svg | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/hit_testing/hit-testing-an-xml-svg-should-not-crash.txt create mode 100644 Tests/LibWeb/Text/input/hit_testing/hit-testing-an-xml-svg-should-not-crash.svg diff --git a/Tests/LibWeb/Text/expected/hit_testing/hit-testing-an-xml-svg-should-not-crash.txt b/Tests/LibWeb/Text/expected/hit_testing/hit-testing-an-xml-svg-should-not-crash.txt new file mode 100644 index 0000000000..52f728aed3 --- /dev/null +++ b/Tests/LibWeb/Text/expected/hit_testing/hit-testing-an-xml-svg-should-not-crash.txt @@ -0,0 +1 @@ +(no body) diff --git a/Tests/LibWeb/Text/input/hit_testing/hit-testing-an-xml-svg-should-not-crash.svg b/Tests/LibWeb/Text/input/hit_testing/hit-testing-an-xml-svg-should-not-crash.svg new file mode 100644 index 0000000000..24e159faa3 --- /dev/null +++ b/Tests/LibWeb/Text/input/hit_testing/hit-testing-an-xml-svg-should-not-crash.svg @@ -0,0 +1,14 @@ + + + + +