summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/custom-elements/state
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/custom-elements/state
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/custom-elements/state')
-rw-r--r--testing/web-platform/meta/custom-elements/state/ElementInternals-states.html.ini12
-rw-r--r--testing/web-platform/meta/custom-elements/state/custom-state-set-strong-ref.html.ini3
-rw-r--r--testing/web-platform/meta/custom-elements/state/state-css-selector-shadow-dom.html.ini9
-rw-r--r--testing/web-platform/meta/custom-elements/state/state-css-selector.html.ini24
-rw-r--r--testing/web-platform/meta/custom-elements/state/state-pseudo-class.html.ini18
5 files changed, 66 insertions, 0 deletions
diff --git a/testing/web-platform/meta/custom-elements/state/ElementInternals-states.html.ini b/testing/web-platform/meta/custom-elements/state/ElementInternals-states.html.ini
new file mode 100644
index 0000000000..a3af132ef8
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/state/ElementInternals-states.html.ini
@@ -0,0 +1,12 @@
+[ElementInternals-states.html]
+ [CustomStateSet behavior of ElementInternals.states: Initial state]
+ expected: FAIL
+
+ [CustomStateSet behavior of ElementInternals.states: Modifications]
+ expected: FAIL
+
+ [Updating a CustomStateSet while iterating it should work]
+ expected: FAIL
+
+ [CustomStateSet behavior of ElementInternals.states: Exceptions]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/state/custom-state-set-strong-ref.html.ini b/testing/web-platform/meta/custom-elements/state/custom-state-set-strong-ref.html.ini
new file mode 100644
index 0000000000..4f6b5158b7
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/state/custom-state-set-strong-ref.html.ini
@@ -0,0 +1,3 @@
+[custom-state-set-strong-ref.html]
+ [customstateset doesn't crash after GC on detached node]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/state/state-css-selector-shadow-dom.html.ini b/testing/web-platform/meta/custom-elements/state/state-css-selector-shadow-dom.html.ini
new file mode 100644
index 0000000000..49ada0c777
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/state/state-css-selector-shadow-dom.html.ini
@@ -0,0 +1,9 @@
+[state-css-selector-shadow-dom.html]
+ [state selector has no influence when state is not applied]
+ expected: FAIL
+
+ [state selector has influence when state is applied]
+ expected: FAIL
+
+ [state selector only applies on given ident]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/state/state-css-selector.html.ini b/testing/web-platform/meta/custom-elements/state/state-css-selector.html.ini
new file mode 100644
index 0000000000..985ed02ad4
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/state/state-css-selector.html.ini
@@ -0,0 +1,24 @@
+[state-css-selector.html]
+ [state selector has no influence when state is not applied]
+ expected: FAIL
+
+ [state selector has no influence on sibling selectors when not applied]
+ expected: FAIL
+
+ [state selector has influence when state is applied]
+ expected: FAIL
+
+ [state selector influences siblings when state is applied]
+ expected: FAIL
+
+ [state selector influences has() when state is applied]
+ expected: FAIL
+
+ [state selector only applies on given ident]
+ expected: FAIL
+
+ [state selector only applies to siblings on given ident]
+ expected: FAIL
+
+ [state selector only applies to has() on given ident]
+ expected: FAIL
diff --git a/testing/web-platform/meta/custom-elements/state/state-pseudo-class.html.ini b/testing/web-platform/meta/custom-elements/state/state-pseudo-class.html.ini
new file mode 100644
index 0000000000..cf2fce2458
--- /dev/null
+++ b/testing/web-platform/meta/custom-elements/state/state-pseudo-class.html.ini
@@ -0,0 +1,18 @@
+[state-pseudo-class.html]
+ [:state() parsing passes]
+ expected: FAIL
+
+ [:state(foo) serialization]
+ expected: FAIL
+
+ [:state(foo) in simple cases]
+ expected: FAIL
+
+ [:state(foo) and other pseudo classes]
+ expected: FAIL
+
+ [:state(foo) and ::part()]
+ expected: FAIL
+
+ [:state(foo) and :host()]
+ expected: FAIL