From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/uievents/order-of-events/README.md | 15 ++ .../focus-events/focus-automated-blink-webkit.html | 159 ++++++++++++++++++++ .../focus-events/focus-contained.html | 94 ++++++++++++ .../focus-management-expectations.html | 48 ++++++ .../order-of-events/focus-events/focus.html | 94 ++++++++++++ .../focus-events/legacy-manual.html | 84 +++++++++++ .../order-of-events/mouse-events/click-cancel.html | 37 +++++ .../mouse-events/click-on-body.html | 57 ++++++++ .../order-of-events/mouse-events/click-on-div.html | 47 ++++++ .../mouse-events/click-on-html.html | 67 +++++++++ .../order-of-events/mouse-events/click-order.html | 86 +++++++++++ .../mouse-events/mouseevents-mousemove.htm | 92 ++++++++++++ .../mouse-events/mousemove-across.html | 162 +++++++++++++++++++++ .../mouse-events/mousemove-between.html | 132 +++++++++++++++++ .../mouse-events/mouseover-out.html | 141 ++++++++++++++++++ .../order-of-events/mouse-events/wheel-basic.html | 91 ++++++++++++ .../mouse-events/wheel-scrolling.html | 109 ++++++++++++++ 17 files changed, 1515 insertions(+) create mode 100644 testing/web-platform/tests/uievents/order-of-events/README.md create mode 100644 testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseevents-mousemove.htm create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-across.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-between.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseover-out.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-basic.html create mode 100644 testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-scrolling.html (limited to 'testing/web-platform/tests/uievents/order-of-events') diff --git a/testing/web-platform/tests/uievents/order-of-events/README.md b/testing/web-platform/tests/uievents/order-of-events/README.md new file mode 100644 index 0000000000..a6ef35eb0b --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/README.md @@ -0,0 +1,15 @@ +Order of events +============================ + +Testing of how events fire in relation to one another + +(this is the big work item) + +Expecting to need: + * braindead test (does it work at all?) + * specific functional tests + * specific edge cases + +Notes: + * small tests so that they can be given specific names for what's broken if it fails + * include a link to the corresponding test in the spec. diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html new file mode 100644 index 0000000000..41de454136 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-automated-blink-webkit.html @@ -0,0 +1,159 @@ + + + + + + + Focus-related events should fire in the correct order + + + + + + + +
+ + +
+ + + diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html new file mode 100644 index 0000000000..8df612c108 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-contained.html @@ -0,0 +1,94 @@ + + + + + Focus-related events should fire in the correct order + + + + + + + + + + +
    +
  1. Click into the text input.
  2. +
  3. Click just below the text input.
  4. +
  5. Click into the text input again.
  6. +
  7. Click the "Done" button.
  8. +
+
+


+
+ + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html new file mode 100644 index 0000000000..1845c15d71 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus-management-expectations.html @@ -0,0 +1,48 @@ + + + + + + Focus management event expectations + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html new file mode 100644 index 0000000000..7942674a70 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/focus.html @@ -0,0 +1,94 @@ + + + + + Focus-related events should fire in the correct order + + + + + + + + + + + +
    +
  1. Click into the first text input.
  2. +
  3. Click into the second text input.
  4. +
  5. Click the "Done" button.
  6. +
+ +
+ +
+ + + + + diff --git a/testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html b/testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html new file mode 100644 index 0000000000..e71273973e --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/focus-events/legacy-manual.html @@ -0,0 +1,84 @@ + + + + + Focus-related events (including legacy events) should fire in the correct order + + + + + + + +
    +
  1. Click into the first text input.
  2. +
  3. Click into the second text input.
  4. +
  5. Click the "Done" button.
  6. +
+ + +
+ +
+ + + + + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html new file mode 100644 index 0000000000..082c2a0cc3 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-cancel.html @@ -0,0 +1,37 @@ + + + + + Default action is canceled if the click event is canceled. + + + + + + + + Check me!
+ + + + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html new file mode 100644 index 0000000000..45453c75ca --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-body.html @@ -0,0 +1,57 @@ + + + + + Clicking on the body element itself fires a click event + + + + + + + + + + +

Click on the blue area below.

+

 

+ + + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html new file mode 100644 index 0000000000..bf06d8251c --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-div.html @@ -0,0 +1,47 @@ + + + + + Clicking on a div element that has no click event handler fires a click event + + + + + + + + + + + +

Click on the blue square below.

+
Click me
+ + + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html new file mode 100644 index 0000000000..e93acc6749 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-on-html.html @@ -0,0 +1,67 @@ + + + + + Clicking on the html element itself fires a click event + + + + + + + + + + +

Click on the blue area below.

+

 

+ + + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html new file mode 100644 index 0000000000..1285a31efc --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/click-order.html @@ -0,0 +1,86 @@ + + + + + Click-related events should fire in the correct order + + + + + + + + + +
    +
  1. Double-click into the blue area.
  2. +
  3. Click the "Done" button.
  4. +
+
+ + + + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseevents-mousemove.htm b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseevents-mousemove.htm new file mode 100644 index 0000000000..98a35bbcf6 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseevents-mousemove.htm @@ -0,0 +1,92 @@ + + + + MouseEvent - mousemove event order + + + + + + + + + + +

Description: Verifies that mousemove events track the pointer position and transition from top-most + visible element to top-most visible element, changing targets + in the DOM along the way.

+ +

Instructions:

+
    +
  1. Move the pointer to the upper-left red box and then move it directly toward and into the lower-right red box. +
+

Test Passes if both boxes turn green and the word 'PASS' appears below

+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-across.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-across.html new file mode 100644 index 0000000000..52d5a93cf9 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-across.html @@ -0,0 +1,162 @@ + + +Mousemove handling across elements + + + + + + + +

+ Steps: +

    +
  1. Move your mouse across the yellow/red <div> element quickly from right to left. +
  2. Move your mouse across the black/blue <div> element quickly from right to left. +
  3. If the test fails, redo it again and move faster on the black/blue <div> element next time. +
+

+ +
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-between.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-between.html new file mode 100644 index 0000000000..f9c422cc93 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mousemove-between.html @@ -0,0 +1,132 @@ + + +Mousemove handling between elements + + + + + + + +

+ Steps: + +

    +
  1. Move your mouse over the blue <div> element, later + over the green one, later back to the blue one. +
  2. Move the mouse from the blue element to the yellow one, later to the + white background. +
+

+ + +
+
+
+
+ + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseover-out.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseover-out.html new file mode 100644 index 0000000000..f10518c7f1 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/mouseover-out.html @@ -0,0 +1,141 @@ + + +Mouseover/mouseout handling + + + + + + +

+ Steps: + +

    +
  1. Move your mouse over the blue <div> element, later + over the green one, later over the yellow one. +
  2. Move the mouse from the yellow element to the green one, later to the + blue one, and later over this paragraph. +
+

+ + +
+
+
+
+ +
+ + diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-basic.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-basic.html new file mode 100644 index 0000000000..1a43022d29 --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-basic.html @@ -0,0 +1,91 @@ + + + + WheelEvent - basic wheel event + + + + + + + + + + + +

Description: Verifies that wheel events are captured and sent

+

Instructions:

+
    +
  1. Place your mouse pointer over the top box
  2. +
  3. Scroll the mouse wheel to change the box color
  4. +
  5. Move the mouse pointer to the second box
  6. +
  7. Scroll the mouse wheel again to change this box's color
  8. +
+

Test Passes if the box turns green and the word 'PASS' appears below

+ +
+
+
+
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-scrolling.html b/testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-scrolling.html new file mode 100644 index 0000000000..44e76bff6c --- /dev/null +++ b/testing/web-platform/tests/uievents/order-of-events/mouse-events/wheel-scrolling.html @@ -0,0 +1,109 @@ + + + + WheelEvent - scrolling wheel event + + + + + + + + + + + +

Description: Verifies that we can scroll the page when wheel events are captured

+

Instructions:

+
    +
  1. Place your mouse over the box
  2. +
  3. Scroll the mouse wheel to change the box color
  4. +
+

Test Passes if the box turns green and the word 'PASS' appears below

+ +
+
+
+ + + +
+

+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras non sodales nunc. Nunc interdum laoreet magna, quis faucibus mi malesuada ut. Donec eu dictum nibh. Quisque consectetur velit arcu, ac bibendum lacus interdum eget. Sed gravida consequat lectus feugiat feugiat. Nunc finibus lacus sit amet ultrices pulvinar. Integer ultrices nulla ut ligula porttitor aliquet. Nulla dapibus dignissim cursus. Morbi euismod accumsan dapibus. Nullam rutrum neque eu finibus luctus. Praesent ultricies pellentesque bibendum. +

+

+Cras faucibus facilisis justo, sit amet euismod nulla posuere sit amet. Donec odio justo, egestas ornare tristique vitae, convallis ac diam. Cras rutrum, massa nec feugiat sodales, diam ex faucibus diam, ac imperdiet dolor lacus eu nisi. Fusce feugiat ex vitae ex fermentum convallis. Pellentesque vulputate cursus lorem, vel sollicitudin eros feugiat a. Morbi egestas neque erat, eget semper nisi tempor id. Etiam eleifend fermentum convallis. Proin sem ipsum, porttitor a condimentum vel, malesuada ac est. +

+

+Curabitur at porttitor ipsum, nec aliquam sapien. Quisque aliquet dapibus nulla. Donec consequat ornare dui, quis efficitur metus fringilla vitae. Fusce ut ultricies neque. In rutrum efficitur mi ut rhoncus. In ornare, justo quis volutpat dapibus, nulla ligula tincidunt dui, vitae porttitor lectus est eget metus. Integer convallis leo vitae dui auctor, at consectetur sem sollicitudin. Ut condimentum enim non tellus finibus mattis. +

+

+Aenean pharetra, erat rutrum lacinia iaculis, ligula quam efficitur nibh, sit amet porttitor est ligula semper sapien. Morbi cursus finibus justo blandit commodo. Pellentesque at diam scelerisque, varius dolor a, tempus tortor. Nam placerat mi id elit eleifend scelerisque. Fusce imperdiet ac augue id fringilla. Quisque luctus nec sapien in tempor. Vestibulum faucibus metus nulla, nec faucibus metus rutrum sit amet. Nulla facilisi. Aliquam varius dignissim laoreet. Morbi gravida, velit sed efficitur iaculis, enim lectus hendrerit diam, ac aliquam mauris enim ut nulla. Vivamus quis aliquet libero. Vivamus accumsan elit et dolor posuere, ac volutpat nulla blandit. Proin vitae tortor rutrum, hendrerit odio vitae, ultricies metus. Pellentesque mattis sem ac lorem lacinia vestibulum. Ut orci est, placerat vitae imperdiet ac, dictum a nisi. +

+

+Proin elementum faucibus neque, sed varius est rhoncus nec. Ut nec porttitor velit, a viverra lorem. Nam lectus arcu, malesuada non suscipit at, efficitur eget diam. Morbi at purus vitae nisl mollis suscipit ac at dolor. Nam vel ullamcorper est. Sed efficitur ligula quis elit viverra, at ornare velit posuere. Maecenas porta risus velit, eu pharetra ex vehicula rutrum. Mauris eu tortor vestibulum, tristique arcu et, euismod velit. Donec et mattis ligula. Pellentesque lacinia elit sit amet libero rhoncus convallis. Aenean porta, enim eget consequat blandit, leo ante finibus massa, gravida viverra dolor massa porta neque. +

+

+ Mauris vitae tortor quis nibh tempus tempor et quis eros. Quisque massa libero, pulvinar nec fringilla non, molestie eget justo. Maecenas mollis est et felis auctor, eu sodales erat fermentum. Curabitur porttitor nibh magna, non porta mi dictum et. Aliquam nec auctor nisi. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi nec porttitor ante, a rutrum ante. Vivamus faucibus et augue sit amet auctor. Nulla nec risus lacus. Quisque mattis vitae neque sit amet aliquet. Nam placerat mattis iaculis. +

+

+Quisque ultrices varius nisi eu feugiat. Sed a aliquam risus. Nulla fermentum erat odio, ultricies fermentum arcu tristique a. Phasellus vulputate sapien in augue sollicitudin auctor. Aenean eu lectus placerat, bibendum leo et, efficitur diam. Quisque in lacus in justo volutpat convallis. Sed vitae rhoncus tellus. Curabitur elementum mi id diam volutpat interdum. Proin urna orci, vehicula non mattis dictum, dignissim a sem. Vivamus in ultricies quam, id auctor arcu. In lacinia ex ac dui fermentum pulvinar. Donec luctus auctor ultrices. Suspendisse semper eros a dolor vulputate aliquam. +

+

+Nullam in tempor tellus, ac ullamcorper tortor. Cras vel aliquet magna, in congue nisi. Nam turpis quam, consectetur at vehicula ut, pellentesque eu risus. In vestibulum neque a ex fringilla tempor quis ac dui. Praesent dictum venenatis scelerisque. Proin ut lectus lobortis, eleifend ipsum blandit, tristique mi. Etiam lacus est, scelerisque at lectus at, interdum mattis ex. Nulla neque mauris, suscipit tempus elementum quis, viverra eu ligula. Etiam at velit vulputate, pulvinar metus eu, hendrerit odio. Sed nec feugiat tortor. Fusce nunc sapien, pretium non viverra et, volutpat eu arcu. Nullam libero justo, varius at suscipit at, scelerisque ut lectus. In leo lorem, tempor sed pellentesque nec, vulputate non lectus. Pellentesque volutpat sit amet lectus in finibus. Aliquam tristique, arcu sit amet venenatis commodo, ligula dolor efficitur ante, at faucibus mi diam ac sapien. +

+

+Ut porttitor metus et mauris euismod iaculis. Ut in lorem neque. Nam a sollicitudin ligula, non lobortis sapien. Curabitur ullamcorper justo quis vulputate cursus. Aliquam rhoncus volutpat quam non condimentum. Donec dictum aliquam metus tempor vehicula. Curabitur lorem urna, venenatis vel tellus et, mollis ornare sapien. Aliquam erat elit, tristique at suscipit efficitur, condimentum eget quam. Quisque vel metus nisl. Integer eget cursus neque, sed auctor purus. Sed ac urna nec lectus elementum laoreet. Donec posuere diam ut nibh vestibulum efficitur. Nam ut rhoncus enim, semper sollicitudin libero. +

+
+ + -- cgit v1.2.3