From 89531fb115b0df23967a29ffdeda15a738e6f9d5 Mon Sep 17 00:00:00 2001 From: circl Date: Tue, 16 Jul 2024 16:18:26 +0200 Subject: [PATCH] Tests/LibWeb: Add test for MouseEvent and WheelEvent bubbling --- .../expected/UIEvents/MouseEvent-bubbling.txt | 1 + .../expected/UIEvents/WheelEvent-bubbling.txt | 1 + .../input/UIEvents/MouseEvent-bubbling.html | 24 +++++++++++++++++++ .../input/UIEvents/WheelEvent-bubbling.html | 24 +++++++++++++++++++ 4 files changed, 50 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/UIEvents/MouseEvent-bubbling.txt create mode 100644 Tests/LibWeb/Text/expected/UIEvents/WheelEvent-bubbling.txt create mode 100644 Tests/LibWeb/Text/input/UIEvents/MouseEvent-bubbling.html create mode 100644 Tests/LibWeb/Text/input/UIEvents/WheelEvent-bubbling.html diff --git a/Tests/LibWeb/Text/expected/UIEvents/MouseEvent-bubbling.txt b/Tests/LibWeb/Text/expected/UIEvents/MouseEvent-bubbling.txt new file mode 100644 index 00000000000..882f08f378d --- /dev/null +++ b/Tests/LibWeb/Text/expected/UIEvents/MouseEvent-bubbling.txt @@ -0,0 +1 @@ + PASS (did not hang) diff --git a/Tests/LibWeb/Text/expected/UIEvents/WheelEvent-bubbling.txt b/Tests/LibWeb/Text/expected/UIEvents/WheelEvent-bubbling.txt new file mode 100644 index 00000000000..882f08f378d --- /dev/null +++ b/Tests/LibWeb/Text/expected/UIEvents/WheelEvent-bubbling.txt @@ -0,0 +1 @@ + PASS (did not hang) diff --git a/Tests/LibWeb/Text/input/UIEvents/MouseEvent-bubbling.html b/Tests/LibWeb/Text/input/UIEvents/MouseEvent-bubbling.html new file mode 100644 index 00000000000..c2e56fe29f3 --- /dev/null +++ b/Tests/LibWeb/Text/input/UIEvents/MouseEvent-bubbling.html @@ -0,0 +1,24 @@ + + +
+ diff --git a/Tests/LibWeb/Text/input/UIEvents/WheelEvent-bubbling.html b/Tests/LibWeb/Text/input/UIEvents/WheelEvent-bubbling.html new file mode 100644 index 00000000000..3299feb2400 --- /dev/null +++ b/Tests/LibWeb/Text/input/UIEvents/WheelEvent-bubbling.html @@ -0,0 +1,24 @@ + + +
+