aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/selection/contenteditable
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2023-08-15 02:28:32 +0200
committerGitHub <noreply@github.com>2023-08-15 00:28:32 +0000
commit963104e5fc1f34cf77bb65991e83156cab6bf9d4 (patch)
tree86c5c55d62ae62f0b8aa5c172cd620c03c371737 /tests/wpt/meta/selection/contenteditable
parent78c70112405508354b6ed8461d4e1c81c933f721 (diff)
downloadservo-963104e5fc1f34cf77bb65991e83156cab6bf9d4.tar.gz
servo-963104e5fc1f34cf77bb65991e83156cab6bf9d4.zip
Run same tests for layout-2020 and layout-2013 (#30092)
Most tests were only being run for layout-2013, not for layout-2020. This wasn't great since layout-2020 is now the default. So this patch unifies the lists of included tests for both layouts. For layout-2013 this implies adding css/css-content/, css/css-logical/ and css/css-masking/clip/. For layout-2020 this implies adding several additional css tests, and also tests like dom/, js/, html/, etc.
Diffstat (limited to 'tests/wpt/meta/selection/contenteditable')
-rw-r--r--tests/wpt/meta/selection/contenteditable/cefalse-on-boundaries.html.ini12
-rw-r--r--tests/wpt/meta/selection/contenteditable/modify.tentative.html.ini43
2 files changed, 42 insertions, 13 deletions
diff --git a/tests/wpt/meta/selection/contenteditable/cefalse-on-boundaries.html.ini b/tests/wpt/meta/selection/contenteditable/cefalse-on-boundaries.html.ini
deleted file mode 100644
index a140cd5cd2f..00000000000
--- a/tests/wpt/meta/selection/contenteditable/cefalse-on-boundaries.html.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[cefalse-on-boundaries.html]
- [Selection can start on cE=false element at the beginning of the cE=true element]
- expected: FAIL
-
- [Selection can end on cE=false element at the end of the cE=true element]
- expected: FAIL
-
- [Selection can start and end on cE=false elements at the boundaries of cE=true element]
- expected: FAIL
-
- [Range#selectNodeContents() correctly select contents of cE=true element with cE=false elements on boundaries]
- expected: FAIL
diff --git a/tests/wpt/meta/selection/contenteditable/modify.tentative.html.ini b/tests/wpt/meta/selection/contenteditable/modify.tentative.html.ini
index 9b201e3333c..1bc35a8cafe 100644
--- a/tests/wpt/meta/selection/contenteditable/modify.tentative.html.ini
+++ b/tests/wpt/meta/selection/contenteditable/modify.tentative.html.ini
@@ -1,4 +1,45 @@
[modify.tentative.html]
- expected: ERROR
[Selection.modify() must not select outside of the host]
expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: inline]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: inline]
+ expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: inline-block]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: inline-block]
+ expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: suffix only]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: suffix only]
+ expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: prefix only]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: prefix only]
+ expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: standalone]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: standalone]
+ expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: inline linebreak]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: inline linebreak]
+ expected: FAIL
+
+ [Selection.modify('move', 'forward', 'lineboundary') must be within the inline editing host: inline-block linebreak]
+ expected: FAIL
+
+ [Selection.modify('move', 'backward', 'lineboundary') must be within the inline editing host: inline-block linebreak]
+ expected: FAIL