From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../tests/selection/textcontrols/focus.html | 43 +++++ .../onselectionchange-content-attribute.html | 29 +++ .../textcontrols/selectionchange-bubble.html | 33 ++++ .../selection/textcontrols/selectionchange.html | 212 +++++++++++++++++++++ 4 files changed, 317 insertions(+) create mode 100644 testing/web-platform/tests/selection/textcontrols/focus.html create mode 100644 testing/web-platform/tests/selection/textcontrols/onselectionchange-content-attribute.html create mode 100644 testing/web-platform/tests/selection/textcontrols/selectionchange-bubble.html create mode 100644 testing/web-platform/tests/selection/textcontrols/selectionchange.html (limited to 'testing/web-platform/tests/selection/textcontrols') diff --git a/testing/web-platform/tests/selection/textcontrols/focus.html b/testing/web-platform/tests/selection/textcontrols/focus.html new file mode 100644 index 0000000000..8c2e0b5591 --- /dev/null +++ b/testing/web-platform/tests/selection/textcontrols/focus.html @@ -0,0 +1,43 @@ + + +Stop selection extension when focus changes + + + + + + + +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna + aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint + occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +

+ + diff --git a/testing/web-platform/tests/selection/textcontrols/onselectionchange-content-attribute.html b/testing/web-platform/tests/selection/textcontrols/onselectionchange-content-attribute.html new file mode 100644 index 0000000000..3120b3bff5 --- /dev/null +++ b/testing/web-platform/tests/selection/textcontrols/onselectionchange-content-attribute.html @@ -0,0 +1,29 @@ + + +Test that setting "onselectionchange" content attribute adds an event listener + + + + + + +
+ diff --git a/testing/web-platform/tests/selection/textcontrols/selectionchange-bubble.html b/testing/web-platform/tests/selection/textcontrols/selectionchange-bubble.html new file mode 100644 index 0000000000..834b32bdd3 --- /dev/null +++ b/testing/web-platform/tests/selection/textcontrols/selectionchange-bubble.html @@ -0,0 +1,33 @@ + + +Test selectionchange events bubbling from text controls + + + +
+ + + diff --git a/testing/web-platform/tests/selection/textcontrols/selectionchange.html b/testing/web-platform/tests/selection/textcontrols/selectionchange.html new file mode 100644 index 0000000000..2b43cfe44b --- /dev/null +++ b/testing/web-platform/tests/selection/textcontrols/selectionchange.html @@ -0,0 +1,212 @@ + + +Test selectionchange events from text controls + + + + + +
+ + + -- cgit v1.2.3