commit 75ade8ec9d3610d8a6e0720e9b495dca47d1d812
parent 5b13ff9971da627712383f4b257ccda4acf0bdf0
Author: Masayuki Nakano <masayuki@d-toybox.com>
Date: Wed, 17 Dec 2025 00:25:12 +0000
Bug 2006039 - Make `_mozilla/selection/select-unselectable-span-N.html` expect opposite result if using draw snapshot r=TYLin
They test how the accessible caret is rendered. However, if the task
uses the draw snapshot, accessible carets are not rendered into the
result. Therefore, expected result becomes opposite one from the normal
mode.
Differential Revision: https://phabricator.services.mozilla.com/D276587
Diffstat:
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/testing/web-platform/mozilla/meta/selection/select-unselectable-span-1.html.ini b/testing/web-platform/mozilla/meta/selection/select-unselectable-span-1.html.ini
@@ -1,3 +1,4 @@
[select-unselectable-span-1.html]
prefs: [layout.accessiblecaret.enabled:true]
- expected: FAIL
+ expected:
+ if not useDrawSnapshot: FAIL
diff --git a/testing/web-platform/mozilla/meta/selection/select-unselectable-span-2.html.ini b/testing/web-platform/mozilla/meta/selection/select-unselectable-span-2.html.ini
@@ -1,2 +1,4 @@
[select-unselectable-span-2.html]
prefs: [layout.accessiblecaret.enabled:true]
+ expected:
+ if useDrawSnapshot: FAIL