summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/css/css-highlight-api
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/css/css-highlight-api')
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/Highlight-iteration-with-modifications.html.ini15
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html.ini17
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration.html.ini3
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html.ini5
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/__dir__.ini1
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-computed.html.ini30
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-parsing.html.ini3
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/idlharness.window.js.ini3
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/__dir__.ini1
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/css-highlight-painting-underline-offset-001.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-002.html.ini11
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-004-2.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-014.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html.ini12
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html.ini2
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html.ini6
-rw-r--r--testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html.ini12
22 files changed, 137 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/css-highlight-api/Highlight-iteration-with-modifications.html.ini b/testing/web-platform/meta/css/css-highlight-api/Highlight-iteration-with-modifications.html.ini
new file mode 100644
index 0000000000..289f07910c
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/Highlight-iteration-with-modifications.html.ini
@@ -0,0 +1,15 @@
+[Highlight-iteration-with-modifications.html]
+ [Highlight iteration is not modified when a new range is added after starting the iteration]
+ expected: FAIL
+
+ [Highlight iteration is not modified when a new range is added after starting the iteration with one range in the Highlight]
+ expected: FAIL
+
+ [Highlight iteration is not modified when the range that was pointed to by the iterator was deleted after starting the iteration]
+ expected: FAIL
+
+ [Highlight iteration is not modified when the range that was immediately after the one pointed to by the iterator was deleted after starting the iteration]
+ expected: FAIL
+
+ [Highlight iteration is not modified when the range that was pointed to by the iterator was deleted using .clear() after starting the iteration]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html.ini b/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html.ini
new file mode 100644
index 0000000000..37b4413310
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration-with-modifications.html.ini
@@ -0,0 +1,17 @@
+[HighlightRegistry-iteration-with-modifications.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
+ [HighlightRegistry iteration is not modified when a new Highlight is added after starting the iteration]
+ expected: FAIL
+
+ [HighlightRegistry iteration is not modified when a new Highlight is added after starting the iteration with one Highlight in the HighlightRegistry]
+ expected: FAIL
+
+ [HighlightRegistry iteration is not modified when the Highlight that was pointed to by the iterator was deleted after starting the iteration]
+ expected: FAIL
+
+ [HighlightRegistry iteration is not modified when the Highlight that was immediately after the one pointed to by the iterator was deleted after starting the iteration]
+ expected: FAIL
+
+ [HighlightRegistry iteration is not modified when the Highlight that was pointed to by the iterator was deleted using .clear() after starting the iteration]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration.html.ini b/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration.html.ini
new file mode 100644
index 0000000000..420420f55d
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-iteration.html.ini
@@ -0,0 +1,3 @@
+[HighlightRegistry-iteration.html]
+ expected:
+ if (os == "android") and fission: [ERROR, TIMEOUT]
diff --git a/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html.ini b/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html.ini
new file mode 100644
index 0000000000..2461934b2b
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/HighlightRegistry-maplike-tampered-Map-prototype.html.ini
@@ -0,0 +1,5 @@
+[HighlightRegistry-maplike-tampered-Map-prototype.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
+ [HighlightRegistry is a maplike interface that works as expected even if Map.prototype is tampered.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/__dir__.ini b/testing/web-platform/meta/css/css-highlight-api/__dir__.ini
new file mode 100644
index 0000000000..3602b3db5b
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.customHighlightAPI.enabled:true]
diff --git a/testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-computed.html.ini b/testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-computed.html.ini
new file mode 100644
index 0000000000..a7b2e20be4
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-computed.html.ini
@@ -0,0 +1,30 @@
+[highlight-pseudo-computed.html]
+ [getComputedStyle() for ::highlight(foo)]
+ expected: FAIL
+
+ [Different getComputedStyle() for ::highlight(bar) and same element]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo): should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo)) should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo)( should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo)(foo) should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo)() should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for :::highlight(foo) should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo). should be element's default]
+ expected: FAIL
+
+ [getComputedStyle() for ::highlight(foo,bar) should be element's default]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-parsing.html.ini b/testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-parsing.html.ini
new file mode 100644
index 0000000000..94483f1376
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/highlight-pseudo-parsing.html.ini
@@ -0,0 +1,3 @@
+[highlight-pseudo-parsing.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/css/css-highlight-api/idlharness.window.js.ini b/testing/web-platform/meta/css/css-highlight-api/idlharness.window.js.ini
new file mode 100644
index 0000000000..9d658c4b32
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/idlharness.window.js.ini
@@ -0,0 +1,3 @@
+[idlharness.window.html]
+ expected:
+ if (os == "android") and fission: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/__dir__.ini b/testing/web-platform/meta/css/css-highlight-api/painting/__dir__.ini
new file mode 100644
index 0000000000..daf68383df
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/__dir__.ini
@@ -0,0 +1 @@
+leak-threshold: [default:51200]
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/css-highlight-painting-underline-offset-001.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/css-highlight-painting-underline-offset-001.html.ini
new file mode 100644
index 0000000000..d896e9be56
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/css-highlight-painting-underline-offset-001.html.ini
@@ -0,0 +1,2 @@
+[css-highlight-painting-underline-offset-001.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-002.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-002.html.ini
new file mode 100644
index 0000000000..5e7f3320bd
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-002.html.ini
@@ -0,0 +1,11 @@
+;https: //bugzilla.mozilla.org/show_bug.cgi?id=1811823
+expected: [FAIL, PASS]
+[custom-highlight-painting-002.html]
+ expected:
+ if (os == "win") and not swgl and debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [FAIL, PASS]
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [FAIL, PASS]
+ if (os == "linux") and debug and not fission and swgl: [FAIL, PASS]
+ if (os == "linux") and debug and fission: [FAIL, PASS]
+ if (os == "android") and debug: [FAIL, PASS]
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-004-2.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-004-2.html.ini
new file mode 100644
index 0000000000..860f234638
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-004-2.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-004-2.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-014.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-014.html.ini
new file mode 100644
index 0000000000..119a7da555
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-014.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-014.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html.ini
new file mode 100644
index 0000000000..615e42ad2b
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-grammar.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-below-grammar.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html.ini
new file mode 100644
index 0000000000..9c7606c438
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-selection.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-below-selection.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html.ini
new file mode 100644
index 0000000000..c833b4a32c
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-below-target-text.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-below-target-text.html]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html.ini
new file mode 100644
index 0000000000..a734a72780
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-001.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-inheritance-001.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html.ini
new file mode 100644
index 0000000000..d7a8cb5fd9
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-inheritance-002.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-inheritance-002.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html.ini
new file mode 100644
index 0000000000..bdb1e5b572
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-005.html.ini
@@ -0,0 +1,12 @@
+;https: //bugzilla.mozilla.org/show_bug.cgi?id=1811823
+expected: [FAIL, PASS]
+[custom-highlight-painting-invalidation-005.html]
+ expected:
+ if (os == "linux") and debug and not fission and not swgl: [PASS, FAIL]
+ if (os == "linux") and not debug and not swgl and not fission: [PASS, FAIL]
+ if (os == "win") and (processor == "x86_64") and debug and not swgl: [PASS, FAIL]
+ if (os == "android") and debug and swgl: [PASS, FAIL]
+ if (os == "mac") and debug: [PASS, FAIL]
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "win") and (processor == "x86"): [PASS, FAIL]
+ [FAIL, PASS]
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html.ini
new file mode 100644
index 0000000000..bd4e20323e
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-invalidation-007.html.ini
@@ -0,0 +1,2 @@
+[custom-highlight-painting-invalidation-007.html]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html.ini
new file mode 100644
index 0000000000..19f2a99997
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-overlapping-highlights-002.html.ini
@@ -0,0 +1,6 @@
+;https: //bugzilla.mozilla.org/show_bug.cgi?id=1811823
+expected: [FAIL, PASS]
+[custom-highlight-painting-overlapping-highlights-002.html]
+ expected:
+ if os == "linux": [FAIL, PASS]
+ [PASS, FAIL]
diff --git a/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html.ini b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html.ini
new file mode 100644
index 0000000000..908db92222
--- /dev/null
+++ b/testing/web-platform/meta/css/css-highlight-api/painting/custom-highlight-painting-prioritization-002.html.ini
@@ -0,0 +1,12 @@
+;https: //bugzilla.mozilla.org/show_bug.cgi?id=1811823
+expected: [FAIL, PASS]
+[custom-highlight-painting-prioritization-002.html]
+ expected:
+ if (os == "linux") and debug and not fission and not swgl: [PASS, FAIL]
+ if (os == "linux") and not debug and not swgl and not fission: [PASS, FAIL]
+ if (os == "win") and (processor == "x86_64") and debug and not swgl: [PASS, FAIL]
+ if (os == "android") and debug and swgl: [PASS, FAIL]
+ if (os == "mac") and debug: [PASS, FAIL]
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "win") and (processor == "x86"): [PASS, FAIL]
+ [FAIL, PASS]