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 --- .../selection/caret/collapse-pre-linestart-1.html | 13 ++ .../selection/caret/collapse-pre-linestart-2.html | 14 ++ .../caret/collapse-pre-linestart-ref.html | 8 + .../tests/selection/caret/empty-elements.html | 25 +++ .../caret/move-around-contenteditable-false.html | 189 +++++++++++++++++++++ 5 files changed, 249 insertions(+) create mode 100644 testing/web-platform/tests/selection/caret/collapse-pre-linestart-1.html create mode 100644 testing/web-platform/tests/selection/caret/collapse-pre-linestart-2.html create mode 100644 testing/web-platform/tests/selection/caret/collapse-pre-linestart-ref.html create mode 100644 testing/web-platform/tests/selection/caret/empty-elements.html create mode 100644 testing/web-platform/tests/selection/caret/move-around-contenteditable-false.html (limited to 'testing/web-platform/tests/selection/caret') diff --git a/testing/web-platform/tests/selection/caret/collapse-pre-linestart-1.html b/testing/web-platform/tests/selection/caret/collapse-pre-linestart-1.html new file mode 100644 index 0000000000..e8bd262868 --- /dev/null +++ b/testing/web-platform/tests/selection/caret/collapse-pre-linestart-1.html @@ -0,0 +1,13 @@ + + +selection.collapse() to line start + + + + +
ABC
+
+ diff --git a/testing/web-platform/tests/selection/caret/collapse-pre-linestart-2.html b/testing/web-platform/tests/selection/caret/collapse-pre-linestart-2.html new file mode 100644 index 0000000000..0feee464c9 --- /dev/null +++ b/testing/web-platform/tests/selection/caret/collapse-pre-linestart-2.html @@ -0,0 +1,14 @@ + + +selection.collapse() to line start + + + + +
ABC
+
+
+ diff --git a/testing/web-platform/tests/selection/caret/collapse-pre-linestart-ref.html b/testing/web-platform/tests/selection/caret/collapse-pre-linestart-ref.html new file mode 100644 index 0000000000..2b25941ded --- /dev/null +++ b/testing/web-platform/tests/selection/caret/collapse-pre-linestart-ref.html @@ -0,0 +1,8 @@ + + +selection.collapse() to line start +
ABC

+ diff --git a/testing/web-platform/tests/selection/caret/empty-elements.html b/testing/web-platform/tests/selection/caret/empty-elements.html new file mode 100644 index 0000000000..328188c957 --- /dev/null +++ b/testing/web-platform/tests/selection/caret/empty-elements.html @@ -0,0 +1,25 @@ + + +Placing selection inside empty elements + + +
+

+
+ diff --git a/testing/web-platform/tests/selection/caret/move-around-contenteditable-false.html b/testing/web-platform/tests/selection/caret/move-around-contenteditable-false.html new file mode 100644 index 0000000000..256804f17a --- /dev/null +++ b/testing/web-platform/tests/selection/caret/move-around-contenteditable-false.html @@ -0,0 +1,189 @@ + + + + +Don't move caret to non-editable node from a editable node + + + + + + + + +
+

abc

def

+
+
+


abcdef

+
+ + -- cgit v1.2.3