From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../contenteditable/cefalse-on-boundaries.html | 72 ++++ .../tests/selection/contenteditable/collapse.html | 43 ++ .../initial-selection-on-focus.tentative.html | 473 +++++++++++++++++++++ .../contenteditable/modify.tentative.html | 60 +++ ...on-with-non-primary-mouse-button.tentative.html | 240 +++++++++++ ...ection-with-primary-mouse-button.tentative.html | 212 +++++++++ 6 files changed, 1100 insertions(+) create mode 100644 testing/web-platform/tests/selection/contenteditable/cefalse-on-boundaries.html create mode 100644 testing/web-platform/tests/selection/contenteditable/collapse.html create mode 100644 testing/web-platform/tests/selection/contenteditable/initial-selection-on-focus.tentative.html create mode 100644 testing/web-platform/tests/selection/contenteditable/modify.tentative.html create mode 100644 testing/web-platform/tests/selection/contenteditable/modifying-selection-with-non-primary-mouse-button.tentative.html create mode 100644 testing/web-platform/tests/selection/contenteditable/modifying-selection-with-primary-mouse-button.tentative.html (limited to 'testing/web-platform/tests/selection/contenteditable') diff --git a/testing/web-platform/tests/selection/contenteditable/cefalse-on-boundaries.html b/testing/web-platform/tests/selection/contenteditable/cefalse-on-boundaries.html new file mode 100644 index 0000000000..945058dfc3 --- /dev/null +++ b/testing/web-platform/tests/selection/contenteditable/cefalse-on-boundaries.html @@ -0,0 +1,72 @@ + + +Selection of contenteditable=false at the beginning and end of contenteditable element + + +
+
 
+

Lorem ipsum dolor sit amet.

+
 
+
+ diff --git a/testing/web-platform/tests/selection/contenteditable/collapse.html b/testing/web-platform/tests/selection/contenteditable/collapse.html new file mode 100644 index 0000000000..6081d05516 --- /dev/null +++ b/testing/web-platform/tests/selection/contenteditable/collapse.html @@ -0,0 +1,43 @@ + + +Selection across multiple contenteditable + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/selection/contenteditable/initial-selection-on-focus.tentative.html b/testing/web-platform/tests/selection/contenteditable/initial-selection-on-focus.tentative.html new file mode 100644 index 0000000000..fcaf70d877 --- /dev/null +++ b/testing/web-platform/tests/selection/contenteditable/initial-selection-on-focus.tentative.html @@ -0,0 +1,473 @@ + + + + +initial selection on focus of contenteditable + + + + + + diff --git a/testing/web-platform/tests/selection/contenteditable/modify.tentative.html b/testing/web-platform/tests/selection/contenteditable/modify.tentative.html new file mode 100644 index 0000000000..a3afd52ea2 --- /dev/null +++ b/testing/web-platform/tests/selection/contenteditable/modify.tentative.html @@ -0,0 +1,60 @@ + + +Selection.modify() inside contenteditable + + +
Editable
+
Non-editable
+
+ Prefix: Editable: Suffix
+ Prefix: Editable: Suffix
+ Editable: Suffix
+ Prefix: Editable
+ Editable
+ Prefix: Edit
able
: Suffix
+ Prefix: Edit
able
: + Suffix
+
+ diff --git a/testing/web-platform/tests/selection/contenteditable/modifying-selection-with-non-primary-mouse-button.tentative.html b/testing/web-platform/tests/selection/contenteditable/modifying-selection-with-non-primary-mouse-button.tentative.html new file mode 100644 index 0000000000..79fc52ac7d --- /dev/null +++ b/testing/web-platform/tests/selection/contenteditable/modifying-selection-with-non-primary-mouse-button.tentative.html @@ -0,0 +1,240 @@ + + + + + + +Testing default action of `mousedown` of middle button and `mouseup` of middle/secondary button + + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/selection/contenteditable/modifying-selection-with-primary-mouse-button.tentative.html b/testing/web-platform/tests/selection/contenteditable/modifying-selection-with-primary-mouse-button.tentative.html new file mode 100644 index 0000000000..57586a6060 --- /dev/null +++ b/testing/web-platform/tests/selection/contenteditable/modifying-selection-with-primary-mouse-button.tentative.html @@ -0,0 +1,212 @@ + + + + +Testing default action of `mousedown` of primary button and `mouseup` of primary button + + + + + + + + +
+ + + -- cgit v1.2.3