From 5bea99367adedefb01e312fb69d500b471dd05ac Mon Sep 17 00:00:00 2001 From: Aliaksandr Kalenik Date: Wed, 14 Feb 2024 04:35:07 +0100 Subject: [PATCH] LibWeb: Add hit-testing test for SVG path Adds a test for to ensure we have at least some hit-testing coverage for SVGs. --- .../LibWeb/Text/expected/hit_testing/svg-path.txt | 1 + Tests/LibWeb/Text/input/hit_testing/svg-path.html | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/hit_testing/svg-path.txt create mode 100644 Tests/LibWeb/Text/input/hit_testing/svg-path.html diff --git a/Tests/LibWeb/Text/expected/hit_testing/svg-path.txt b/Tests/LibWeb/Text/expected/hit_testing/svg-path.txt new file mode 100644 index 0000000000..03b1523032 --- /dev/null +++ b/Tests/LibWeb/Text/expected/hit_testing/svg-path.txt @@ -0,0 +1 @@ + clicked diff --git a/Tests/LibWeb/Text/input/hit_testing/svg-path.html b/Tests/LibWeb/Text/input/hit_testing/svg-path.html new file mode 100644 index 0000000000..d8f649a85d --- /dev/null +++ b/Tests/LibWeb/Text/input/hit_testing/svg-path.html @@ -0,0 +1,14 @@ + + + + + +