From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../selectors/invalidation/any-link-pseudo.html | 36 ++ .../attribute-or-elemental-selectors-in-has.html | 149 +++++++ .../css/selectors/invalidation/attribute.html | 234 +++++++++++ .../child-indexed-pseudo-classes-in-has.html | 116 ++++++ .../selectors/invalidation/class-id-attr-ref.html | 9 + .../css/selectors/invalidation/class-id-attr.html | 24 ++ .../tests/css/selectors/invalidation/defined.html | 76 ++++ .../invalidation/dir-pseudo-class-in-has.html | 36 ++ .../invalidation/empty-pseudo-in-has.html | 37 ++ .../selectors/invalidation/enabled-disabled.html | 51 +++ .../invalidation/first-child-last-child.html | 57 +++ .../fullscreen-pseudo-class-in-has.html | 53 +++ .../css/selectors/invalidation/has-complexity.html | 80 ++++ .../invalidation/has-in-adjacent-position.html | 312 ++++++++++++++ .../invalidation/has-in-ancestor-position.html | 320 ++++++++++++++ .../invalidation/has-in-parent-position.html | 300 +++++++++++++ .../invalidation/has-in-sibling-position.html | 312 ++++++++++++++ ...alidation-after-removing-non-first-element.html | 31 ++ .../has-invalidation-for-wiping-an-element.html | 42 ++ .../css/selectors/invalidation/has-sibling.html | 149 +++++++ .../css/selectors/invalidation/has-with-not.html | 107 +++++ .../invalidation/has-with-pseudo-class.html | 99 +++++ .../invalidation/host-pseudo-class-in-has.html | 65 +++ .../invalidation/input-pseudo-classes-in-has.html | 141 +++++++ .../selectors/invalidation/insert-sibling-001.html | 39 ++ .../selectors/invalidation/insert-sibling-002.html | 41 ++ .../selectors/invalidation/insert-sibling-003.html | 44 ++ .../selectors/invalidation/insert-sibling-004.html | 43 ++ .../is-pseudo-containing-complex-in-has.html | 379 +++++++++++++++++ .../tests/css/selectors/invalidation/is.html | 139 +++++++ .../lang-pseudo-class-in-has-document-element.html | 27 ++ ...do-class-in-has-multiple-document-elements.html | 32 ++ .../lang-pseudo-class-in-has-xhtml.xhtml | 43 ++ .../invalidation/lang-pseudo-class-in-has.html | 38 ++ .../selectors/invalidation/link-pseudo-in-has.html | 97 +++++ .../location-pseudo-classes-in-has.html | 29 ++ .../media-loading-pseudo-classes-in-has.html | 79 ++++ .../invalidation/media-pseudo-classes-in-has.html | 114 +++++ .../invalidation/modal-pseudo-class-in-has.html | 81 ++++ .../tests/css/selectors/invalidation/not-001.html | 41 ++ .../tests/css/selectors/invalidation/not-002.html | 133 ++++++ .../not-pseudo-containing-complex-in-has.html | 375 +++++++++++++++++ .../nth-child-containing-ancestor-ref.html | 12 + .../nth-child-containing-ancestor.html | 23 + .../invalidation/nth-child-in-shadow-root-ref.html | 7 + .../invalidation/nth-child-in-shadow-root.html | 31 ++ .../nth-child-of-attr-largedom-ref.html | 452 ++++++++++++++++++++ .../invalidation/nth-child-of-attr-largedom.html | 462 +++++++++++++++++++++ .../invalidation/nth-child-of-attr-ref.html | 15 + .../selectors/invalidation/nth-child-of-attr.html | 26 ++ .../invalidation/nth-child-of-class-prefix.html | 26 ++ .../invalidation/nth-child-of-class-ref.html | 15 + .../selectors/invalidation/nth-child-of-class.html | 26 ++ .../invalidation/nth-child-of-has-ref.html | 15 + .../selectors/invalidation/nth-child-of-has.html | 26 ++ .../invalidation/nth-child-of-id-prefix.html | 26 ++ .../selectors/invalidation/nth-child-of-ids.html | 26 ++ .../invalidation/nth-child-of-in-ancestor-ref.html | 13 + .../invalidation/nth-child-of-in-ancestor.html | 24 ++ .../selectors/invalidation/nth-child-of-in-is.html | 25 ++ .../nth-child-of-in-shadow-root-ref.html | 9 + .../invalidation/nth-child-of-in-shadow-root.html | 23 + .../selectors/invalidation/nth-child-of-is.html | 25 ++ .../nth-child-of-pseudo-class-ref.html | 13 + .../invalidation/nth-child-of-pseudo-class.html | 31 ++ .../invalidation/nth-child-of-sibling-ref.html | 15 + .../invalidation/nth-child-of-sibling.html | 26 ++ .../nth-child-when-ancestor-changes-ref.html | 13 + .../nth-child-when-ancestor-changes.html | 24 ++ .../nth-child-when-sibling-changes-ref.html | 14 + .../nth-child-when-sibling-changes.html | 25 ++ .../nth-last-child-containing-ancestor.html | 23 + .../nth-last-child-in-shadow-root-ref.html | 7 + .../nth-last-child-in-shadow-root.html | 31 ++ .../invalidation/nth-last-child-of-attr-ref.html | 13 + .../invalidation/nth-last-child-of-attr.html | 26 ++ .../nth-last-child-of-class-prefix.html | 25 ++ .../invalidation/nth-last-child-of-class-ref.html | 13 + .../invalidation/nth-last-child-of-class.html | 26 ++ .../invalidation/nth-last-child-of-has-ref.html | 13 + .../invalidation/nth-last-child-of-has.html | 26 ++ .../invalidation/nth-last-child-of-id-prefix.html | 25 ++ .../invalidation/nth-last-child-of-ids.html | 25 ++ .../nth-last-child-of-in-ancestor-ref.html | 11 + .../nth-last-child-of-in-ancestor.html | 24 ++ .../invalidation/nth-last-child-of-in-is.html | 25 ++ .../nth-last-child-of-in-shadow-root-ref.html | 8 + .../nth-last-child-of-in-shadow-root.html | 25 ++ .../invalidation/nth-last-child-of-is.html | 25 ++ .../nth-last-child-of-pseudo-class-ref.html | 13 + .../nth-last-child-of-pseudo-class.html | 31 ++ .../nth-last-child-of-sibling-ref.html | 13 + .../invalidation/nth-last-child-of-sibling.html | 26 ++ .../nth-last-child-when-ancestor-changes-ref.html | 11 + .../nth-last-child-when-ancestor-changes.html | 24 ++ .../nth-last-child-when-sibling-changes-ref.html | 12 + .../nth-last-child-when-sibling-changes.html | 25 ++ .../quirks-mode-stylesheet-dynamic-add-001.html | 27 ++ .../invalidation/selectorText-dynamic-001.html | 24 ++ .../invalidation/sheet-going-away-001.html | 26 ++ .../invalidation/sheet-going-away-002-ref.html | 7 + .../invalidation/sheet-going-away-002.html | 23 + .../tests/css/selectors/invalidation/sibling.html | 139 +++++++ ...alidation-with-display-none-anchor-element.html | 29 ++ .../invalidation/target-pseudo-in-has.html | 90 ++++ .../typed-child-indexed-pseudo-classes-in-has.html | 131 ++++++ .../user-action-pseudo-classes-in-has.html | 115 +++++ .../tests/css/selectors/invalidation/where.html | 108 +++++ 108 files changed, 7323 insertions(+) create mode 100644 testing/web-platform/tests/css/selectors/invalidation/any-link-pseudo.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/attribute-or-elemental-selectors-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/attribute.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/child-indexed-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/class-id-attr-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/class-id-attr.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/defined.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/dir-pseudo-class-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/empty-pseudo-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/enabled-disabled.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/first-child-last-child.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-complexity.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-in-adjacent-position.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-in-ancestor-position.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-in-parent-position.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-in-sibling-position.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-invalidation-after-removing-non-first-element.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-invalidation-for-wiping-an-element.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-sibling.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-with-not.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/has-with-pseudo-class.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/host-pseudo-class-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/input-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/insert-sibling-001.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/insert-sibling-002.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/insert-sibling-003.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/insert-sibling-004.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/is-pseudo-containing-complex-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/is.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-document-element.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-multiple-document-elements.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-xhtml.xhtml create mode 100644 testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/location-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/media-loading-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/media-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/not-001.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/not-002.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/not-pseudo-containing-complex-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-prefix.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-id-prefix.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-ids.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-is.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-is.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-containing-ancestor.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-prefix.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-id-prefix.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-ids.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-is.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-is.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/quirks-mode-stylesheet-dynamic-add-001.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/selectorText-dynamic-001.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-001.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002-ref.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/sibling.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/subject-has-invalidation-with-display-none-anchor-element.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/target-pseudo-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/typed-child-indexed-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/user-action-pseudo-classes-in-has.html create mode 100644 testing/web-platform/tests/css/selectors/invalidation/where.html (limited to 'testing/web-platform/tests/css/selectors/invalidation') diff --git a/testing/web-platform/tests/css/selectors/invalidation/any-link-pseudo.html b/testing/web-platform/tests/css/selectors/invalidation/any-link-pseudo.html new file mode 100644 index 0000000000..9792fd0ebe --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/any-link-pseudo.html @@ -0,0 +1,36 @@ + + + + CSS Selectors Invalidation: :any-link + + + + + + + This link should have a green background. +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/attribute-or-elemental-selectors-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/attribute-or-elemental-selectors-in-has.html new file mode 100644 index 0000000000..d0edb1e5e4 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/attribute-or-elemental-selectors-in-has.html @@ -0,0 +1,149 @@ + + +CSS Selectors Invalidation: :has() invalidation basic + + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/attribute.html b/testing/web-platform/tests/css/selectors/invalidation/attribute.html new file mode 100644 index 0000000000..3bda52c91d --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/attribute.html @@ -0,0 +1,234 @@ + + + + CSS Selectors Invalidation: attribute + + + + + + + + +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/child-indexed-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/child-indexed-pseudo-classes-in-has.html new file mode 100644 index 0000000000..5c689e2333 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/child-indexed-pseudo-classes-in-has.html @@ -0,0 +1,116 @@ + + +CSS Selectors Invalidation: child-indexed pseudo classes in :has() argument + + + + + +
+
+
+
+
+
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/class-id-attr-ref.html b/testing/web-platform/tests/css/selectors/invalidation/class-id-attr-ref.html new file mode 100644 index 0000000000..a3cc6d3d8f --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/class-id-attr-ref.html @@ -0,0 +1,9 @@ + + +CSS test reference + + +
This should be green
+
And this too
diff --git a/testing/web-platform/tests/css/selectors/invalidation/class-id-attr.html b/testing/web-platform/tests/css/selectors/invalidation/class-id-attr.html new file mode 100644 index 0000000000..91a6f1a3a5 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/class-id-attr.html @@ -0,0 +1,24 @@ + + +CSS Test: [id] and [class] attribute selectors are invalidated correctly. + + + + +
This should be green
+
And this too
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/defined.html b/testing/web-platform/tests/css/selectors/invalidation/defined.html new file mode 100644 index 0000000000..565ed552e1 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/defined.html @@ -0,0 +1,76 @@ + + + + CSS Selectors Invalidation: :defined + + + + + + + + +
+ +
+ +
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/dir-pseudo-class-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/dir-pseudo-class-in-has.html new file mode 100644 index 0000000000..0f5d072656 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/dir-pseudo-class-in-has.html @@ -0,0 +1,36 @@ + + + + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/empty-pseudo-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/empty-pseudo-in-has.html new file mode 100644 index 0000000000..83cf051565 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/empty-pseudo-in-has.html @@ -0,0 +1,37 @@ + + +CSS Selectors Invalidation: :empty in :has() argument + + + + + +
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/enabled-disabled.html b/testing/web-platform/tests/css/selectors/invalidation/enabled-disabled.html new file mode 100644 index 0000000000..bac3067d00 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/enabled-disabled.html @@ -0,0 +1,51 @@ + + + + + CSS Selectors Invalidation: :enabled and :disabled + + + + + + + + + + + + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/first-child-last-child.html b/testing/web-platform/tests/css/selectors/invalidation/first-child-last-child.html new file mode 100644 index 0000000000..4a2ed4570e --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/first-child-last-child.html @@ -0,0 +1,57 @@ + + + + + CSS Selectors Invalidation: :first-child :last-child + + + + + + + +
first-initiallylast-initially
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html new file mode 100644 index 0000000000..dbbcea2502 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/fullscreen-pseudo-class-in-has.html @@ -0,0 +1,53 @@ + + +CSS Selectors Invalidation: :fullscreen pseudo class in :has() + + + + + + + + + + +
+ This is some text. +
This is going to be fullscreened
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-complexity.html b/testing/web-platform/tests/css/selectors/invalidation/has-complexity.html new file mode 100644 index 0000000000..0bdcdec13b --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-complexity.html @@ -0,0 +1,80 @@ + + +CSS Selector Invalidation: :has() invalidation should not be O(n^2) + + + + + +
+
+ +
+
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-in-adjacent-position.html b/testing/web-platform/tests/css/selectors/invalidation/has-in-adjacent-position.html new file mode 100644 index 0000000000..5c1a1ecf78 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-in-adjacent-position.html @@ -0,0 +1,312 @@ + + +CSS Selector Invalidation: :has() in adjacent position + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-in-ancestor-position.html b/testing/web-platform/tests/css/selectors/invalidation/has-in-ancestor-position.html new file mode 100644 index 0000000000..7662fbde69 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-in-ancestor-position.html @@ -0,0 +1,320 @@ + + +CSS Selector Invalidation: :has() in ancestor position + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-in-parent-position.html b/testing/web-platform/tests/css/selectors/invalidation/has-in-parent-position.html new file mode 100644 index 0000000000..4690e6929f --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-in-parent-position.html @@ -0,0 +1,300 @@ + + +CSS Selector Invalidation: :has() in parent position + + + + + + +
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-in-sibling-position.html b/testing/web-platform/tests/css/selectors/invalidation/has-in-sibling-position.html new file mode 100644 index 0000000000..8b35940f87 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-in-sibling-position.html @@ -0,0 +1,312 @@ + + +CSS Selector Invalidation: :has() in sibling position + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-invalidation-after-removing-non-first-element.html b/testing/web-platform/tests/css/selectors/invalidation/has-invalidation-after-removing-non-first-element.html new file mode 100644 index 0000000000..482f07b8af --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-invalidation-after-removing-non-first-element.html @@ -0,0 +1,31 @@ + + +:has() invalidation after removing non-first element + + + + + +
+
+
+ +
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-invalidation-for-wiping-an-element.html b/testing/web-platform/tests/css/selectors/invalidation/has-invalidation-for-wiping-an-element.html new file mode 100644 index 0000000000..03fa9a5554 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-invalidation-for-wiping-an-element.html @@ -0,0 +1,42 @@ + + +:has() invalidation for wiping an element by means of innerHTML + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-sibling.html b/testing/web-platform/tests/css/selectors/invalidation/has-sibling.html new file mode 100644 index 0000000000..7c56b2e7b3 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-sibling.html @@ -0,0 +1,149 @@ + + +CSS Selector Invalidation: :has() with sibling combinator argument + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-with-not.html b/testing/web-platform/tests/css/selectors/invalidation/has-with-not.html new file mode 100644 index 0000000000..b67ec5e3b7 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-with-not.html @@ -0,0 +1,107 @@ + + +CSS Selector Invalidation: :has() with :not() + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/has-with-pseudo-class.html b/testing/web-platform/tests/css/selectors/invalidation/has-with-pseudo-class.html new file mode 100644 index 0000000000..4dc4c1a6a2 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/has-with-pseudo-class.html @@ -0,0 +1,99 @@ + + +CSS Selector Invalidation: :has() with pseudo-classes + + + + + + +
+
+ + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/host-pseudo-class-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/host-pseudo-class-in-has.html new file mode 100644 index 0000000000..a2c63d5463 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/host-pseudo-class-in-has.html @@ -0,0 +1,65 @@ + + +CSS Test: Invalidation for :host() and :host-context() inside :has() + + + + +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/input-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/input-pseudo-classes-in-has.html new file mode 100644 index 0000000000..67aeedf315 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/input-pseudo-classes-in-has.html @@ -0,0 +1,141 @@ + + +CSS Selectors Invalidation: input pseudo classes in :has() argument + + + + + +
+ + + + + + +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-001.html b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-001.html new file mode 100644 index 0000000000..fa966d3f25 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-001.html @@ -0,0 +1,39 @@ + + + + CSS Selectors Invalidation: insert sibling + + + + + + + +
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-002.html b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-002.html new file mode 100644 index 0000000000..7e1eac37ea --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-002.html @@ -0,0 +1,41 @@ + + + + CSS Selectors Invalidation: insert adjacent sibling of parent + + + + + + + +
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-003.html b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-003.html new file mode 100644 index 0000000000..c7c51eaf6a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-003.html @@ -0,0 +1,44 @@ + + + + CSS Selectors Invalidation: insert sibling of ancestor + + + + + + + +
+
+
+
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-004.html b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-004.html new file mode 100644 index 0000000000..aa3fb1c9fc --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/insert-sibling-004.html @@ -0,0 +1,43 @@ + + + + CSS Selectors Invalidation: insert sibling of parent + + + + + + + +
+
+
+
+
+ +
+
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/is-pseudo-containing-complex-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/is-pseudo-containing-complex-in-has.html new file mode 100644 index 0000000000..4e6d4c8832 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/is-pseudo-containing-complex-in-has.html @@ -0,0 +1,379 @@ + + +CSS Selectors Invalidation: :is() in :has() argument + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/is.html b/testing/web-platform/tests/css/selectors/invalidation/is.html new file mode 100644 index 0000000000..8490f09697 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/is.html @@ -0,0 +1,139 @@ + + + + CSS Selectors Invalidation: :is() + + + + + + + + +
+
+ Red +
+
+ Red +
+
+ Green +
+
+ Green +
+
+ Blue +
+
+
+ Blue +
+ Red +
+
+
+
+ Blue +
+
+
+
+
+ Red +
+
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-document-element.html b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-document-element.html new file mode 100644 index 0000000000..93ece465dd --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-document-element.html @@ -0,0 +1,27 @@ + + + + + + + + + + +

Test passes if there is a filled green square and no red.

+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-multiple-document-elements.html b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-multiple-document-elements.html new file mode 100644 index 0000000000..5dbe9c711a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-multiple-document-elements.html @@ -0,0 +1,32 @@ + + + + + + + +

Test passes if there is a filled green square and no red.

+
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-xhtml.xhtml b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-xhtml.xhtml new file mode 100644 index 0000000000..3a421c2e12 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has-xhtml.xhtml @@ -0,0 +1,43 @@ + + + + + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has.html new file mode 100644 index 0000000000..83404fcbc7 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/lang-pseudo-class-in-has.html @@ -0,0 +1,38 @@ + + + + + + + + + +

Test passes if there is a filled green square and no red.

+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html new file mode 100644 index 0000000000..0ff879768b --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/link-pseudo-in-has.html @@ -0,0 +1,97 @@ + + +CSS Selectors Invalidation: :link, :visited :any-link, pseudo-class in :has() argument + + + + + +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/location-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/location-pseudo-classes-in-has.html new file mode 100644 index 0000000000..697fc70ae6 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/location-pseudo-classes-in-has.html @@ -0,0 +1,29 @@ + + +CSS Selectors Invalidation: location pseudo classes in :has() argument + + + + + +
+
parent color must be blue with + visited link +
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/media-loading-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/media-loading-pseudo-classes-in-has.html new file mode 100644 index 0000000000..62b18c1e0e --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/media-loading-pseudo-classes-in-has.html @@ -0,0 +1,79 @@ + + +:has() invalidation with :buffering & :stalled pseudo-classes + + + + + + +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/media-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/media-pseudo-classes-in-has.html new file mode 100644 index 0000000000..f0df71534a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/media-pseudo-classes-in-has.html @@ -0,0 +1,114 @@ + +:has() invalidation with :playing, :paused, :seeking and :muted pseudo-classes + + + + + +
+ Test media pseudo-classes invalidation with :has() + + +
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html new file mode 100644 index 0000000000..140f7cc4f8 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/modal-pseudo-class-in-has.html @@ -0,0 +1,81 @@ + + +CSS Selectors Invalidation: :modal pseudo class in :has() + + + + + + + + +
+ This is some text. + This is a dialog +
This is going to be fullscreened
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/not-001.html b/testing/web-platform/tests/css/selectors/invalidation/not-001.html new file mode 100644 index 0000000000..db1cf291c7 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/not-001.html @@ -0,0 +1,41 @@ + +CSS Selectors Invalidation: complex :not() + + + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/not-002.html b/testing/web-platform/tests/css/selectors/invalidation/not-002.html new file mode 100644 index 0000000000..811b125f8c --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/not-002.html @@ -0,0 +1,133 @@ + +CSS Selectors Invalidation: complex :not() + + + + + + +
+
+ Red +
+
+ Red +
+
+ Green +
+
+ Green +
+
+ Blue +
+
+
+ Blue +
+ Red +
+
+
+
+ Blue +
+
+
+
+
+ Red +
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/not-pseudo-containing-complex-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/not-pseudo-containing-complex-in-has.html new file mode 100644 index 0000000000..d24abf69f7 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/not-pseudo-containing-complex-in-has.html @@ -0,0 +1,375 @@ + + +CSS Selectors Invalidation: :not(<complex-selector>) in :has() argument (complex selector) + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor-ref.html new file mode 100644 index 0000000000..4dc7247e41 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor-ref.html @@ -0,0 +1,12 @@ + + +CSS Selectors Invalidation: :nth-child(... of S) with ancestor in S + + +
+
+
+
Should be green
+
+
+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor.html new file mode 100644 index 0000000000..7266cd5a25 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-containing-ancestor.html @@ -0,0 +1,23 @@ + + +CSS Selectors Invalidation: :nth-child(... of S) with ancestor in S + + + + +
+
+
+
Should be green
+
+
+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root-ref.html new file mode 100644 index 0000000000..5e9600ad0e --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root-ref.html @@ -0,0 +1,7 @@ + + +CSS Test Reference +
+
Should be green
+
Should be red
+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root.html new file mode 100644 index 0000000000..9e6a5b129a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-in-shadow-root.html @@ -0,0 +1,31 @@ + +CSS Selectors Invalidation: :nth-child(An+B) within shadow root + + + + + +
+ +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom-ref.html new file mode 100644 index 0000000000..6ddc204b83 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom-ref.html @@ -0,0 +1,452 @@ + + +CSS Selectors Invalidation: :nth-child(... of attribute) with a large DOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#
2
3
4
5
7
10
12
19
28
29
35
37
43
45
51
52
57
61
68
70
75
78
84
90
101
102
106
113
114
115
116
117
118
120
129
133
134
137
138
141
142
\ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom.html new file mode 100644 index 0000000000..76bc4542da --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-largedom.html @@ -0,0 +1,462 @@ + + +CSS Selectors Invalidation: :nth-child(... of attribute) with a large DOM + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
#
2
3
4
5
7
10
12
19
28
29
35
37
43
45
51
52
57
61
68
70
75
78
84
90
101
102
106
113
114
115
116
117
118
120
129
133
134
137
138
141
142
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-ref.html new file mode 100644 index 0000000000..41205174eb --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr-ref.html @@ -0,0 +1,15 @@ + + +CSS Selectors Invalidation: :nth-child(... of attribute) + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr.html new file mode 100644 index 0000000000..d929d6a50d --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-attr.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of attribute) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-prefix.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-prefix.html new file mode 100644 index 0000000000..ac7757db3e --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-prefix.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of class prefix) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-ref.html new file mode 100644 index 0000000000..7a8247c469 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class-ref.html @@ -0,0 +1,15 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class.html new file mode 100644 index 0000000000..dc1e8cec82 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-class.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has-ref.html new file mode 100644 index 0000000000..ab3931d6ef --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has-ref.html @@ -0,0 +1,15 @@ + + +CSS Selectors Invalidation: :nth-child(... of :has(...)) + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has.html new file mode 100644 index 0000000000..1a548315cc --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-has.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of :has(...)) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-id-prefix.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-id-prefix.html new file mode 100644 index 0000000000..fadb8f3851 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-id-prefix.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of ID prefix) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-ids.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-ids.html new file mode 100644 index 0000000000..033205283c --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-ids.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of IDs) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor-ref.html new file mode 100644 index 0000000000..a4e4b7fd9f --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor-ref.html @@ -0,0 +1,13 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) as ancestor + + +
+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor.html new file mode 100644 index 0000000000..7311c3e301 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-ancestor.html @@ -0,0 +1,24 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) as ancestor + + + + +
+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-is.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-is.html new file mode 100644 index 0000000000..31276e6ef9 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-is.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :is(:nth-child(... of class)) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root-ref.html new file mode 100644 index 0000000000..f28d358cdc --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root-ref.html @@ -0,0 +1,9 @@ + +CSS Selectors Invalidation: :nth-child(... of class) within shadow root + + +
+
No green
+
No green
+
Should be green
+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root.html new file mode 100644 index 0000000000..1e949a3bd0 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-in-shadow-root.html @@ -0,0 +1,23 @@ + +CSS Selectors Invalidation: :nth-child(... of class) within shadow root + + + + +
+ +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-is.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-is.html new file mode 100644 index 0000000000..e230a30d17 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-is.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-child(... of :is) + + + + +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class-ref.html new file mode 100644 index 0000000000..b06f47aafa --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class-ref.html @@ -0,0 +1,13 @@ + + +CSS Test Reference +
+

Ignored

+

Ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class.html new file mode 100644 index 0000000000..2a0b071b93 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-pseudo-class.html @@ -0,0 +1,31 @@ + + +CSS Selectors Invalidation: :nth-child(... of pseudo-class) + + + + +
+ Ignored + Ignored +

Not ignored

+ Selectively ignored +

Not ignored

+

Not ignored

+

Not ignored

+ Ignored +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling-ref.html new file mode 100644 index 0000000000..0388fc7c5a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling-ref.html @@ -0,0 +1,15 @@ + + +CSS Selectors Invalidation: :nth-child(... of sibling) + + +
+

Ignored

+

Ignored

+

Selectively ignored

+

Ignored

+

Not ignored

+

Ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling.html new file mode 100644 index 0000000000..5beaad6a58 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-of-sibling.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-child(... of sibling) + + + + +
+

Ignored

+

Ignored

+

Selectively ignored

+

Ignored

+

Not ignored

+

Ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes-ref.html new file mode 100644 index 0000000000..8b7d32906d --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes-ref.html @@ -0,0 +1,13 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) when ancestor changes + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes.html new file mode 100644 index 0000000000..4d2b4fbce0 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-ancestor-changes.html @@ -0,0 +1,24 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) when ancestor changes + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes-ref.html new file mode 100644 index 0000000000..9a39752990 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes-ref.html @@ -0,0 +1,14 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) when sibling changes + + +
+

Ignored

+

Odd; used to be green, should not be since no sibling

+

Even, so should not be green

+

Odd, but no sibling, so should not be green

+

Even, so should not be green

+

Ignored

+

Odd, should be green

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes.html b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes.html new file mode 100644 index 0000000000..a0025be95a --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-child-when-sibling-changes.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-child(... of class) when sibling changes + + + + +
+

Ignored

+

Odd; used to be green, should not be since no sibling

+

Even, so should not be green

+

Odd, but no sibling, so should not be green

+

Even, so should not be green

+

Ignored

+

Odd, should be green

+
+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-containing-ancestor.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-containing-ancestor.html new file mode 100644 index 0000000000..f3a63bdb2e --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-containing-ancestor.html @@ -0,0 +1,23 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of S) with ancestor in S + + + + + +
+
+
+
Should be green
+
+
+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root-ref.html new file mode 100644 index 0000000000..c7adfe3557 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root-ref.html @@ -0,0 +1,7 @@ + + +CSS Test Reference +
+
Should be red
+
Should be green
+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root.html new file mode 100644 index 0000000000..a14f476567 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-in-shadow-root.html @@ -0,0 +1,31 @@ + +CSS Selectors Invalidation: :nth-last-child(An+B) within shadow root + + + + + +
+ +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr-ref.html new file mode 100644 index 0000000000..6d0eb88a81 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr-ref.html @@ -0,0 +1,13 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr.html new file mode 100644 index 0000000000..9381796bf1 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-attr.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of attribute) + + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-prefix.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-prefix.html new file mode 100644 index 0000000000..f9fc196c21 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-prefix.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of class prefix) + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-ref.html new file mode 100644 index 0000000000..6d0eb88a81 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class-ref.html @@ -0,0 +1,13 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class.html new file mode 100644 index 0000000000..2026796bb9 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-class.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of class) + + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has-ref.html new file mode 100644 index 0000000000..6d0eb88a81 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has-ref.html @@ -0,0 +1,13 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has.html new file mode 100644 index 0000000000..0c80925f87 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-has.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of :has(...)) + + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-id-prefix.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-id-prefix.html new file mode 100644 index 0000000000..1a9e6a9aa3 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-id-prefix.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of ID prefix) + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-ids.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-ids.html new file mode 100644 index 0000000000..cd682ed5fb --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-ids.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of IDs) + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor-ref.html new file mode 100644 index 0000000000..21e6ae0f6f --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor-ref.html @@ -0,0 +1,11 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor.html new file mode 100644 index 0000000000..b4e0e6f4f6 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-ancestor.html @@ -0,0 +1,24 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of class) as ancestor + + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-is.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-is.html new file mode 100644 index 0000000000..90c8860c87 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-is.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :is(:nth-last-child(... of class)) + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root-ref.html new file mode 100644 index 0000000000..3eb330f58c --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root-ref.html @@ -0,0 +1,8 @@ + + +CSS Test Reference +
+
Should be green
+
No green
+
No green
+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root.html new file mode 100644 index 0000000000..d403111785 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-in-shadow-root.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of class) within shadow root + + + + + +
+ +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-is.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-is.html new file mode 100644 index 0000000000..ac1ec316c7 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-is.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of :is) + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class-ref.html new file mode 100644 index 0000000000..370e8887c5 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class-ref.html @@ -0,0 +1,13 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Selectively ignored

+

Not ignored

+

Ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class.html new file mode 100644 index 0000000000..1907532065 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-pseudo-class.html @@ -0,0 +1,31 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of pseudo-class) + + + + +
+ Ignored +

Not ignored

+

Not ignored

+

Not ignored

+ Selectively ignored +

Not ignored

+ Ignored + Ignored +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling-ref.html new file mode 100644 index 0000000000..349a7b66fb --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling-ref.html @@ -0,0 +1,13 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Ignored

+

Not ignored

+

Ignored

+

Selectively ignored

+

Ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling.html new file mode 100644 index 0000000000..b7b9bd70ab --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-of-sibling.html @@ -0,0 +1,26 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of sibling) + + + + + +
+

Ignored

+

Not ignored

+

Ignored

+

Not ignored

+

Ignored

+

Selectively ignored

+

Ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes-ref.html new file mode 100644 index 0000000000..48eeb7b3c6 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes-ref.html @@ -0,0 +1,11 @@ + + +CSS Test Reference +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes.html new file mode 100644 index 0000000000..1cc7020e5b --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-ancestor-changes.html @@ -0,0 +1,24 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of class) when ancestor changes + + + + + +
+

Ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Not ignored

+

Ignored

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes-ref.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes-ref.html new file mode 100644 index 0000000000..627ebc074b --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes-ref.html @@ -0,0 +1,12 @@ + + +CSS Test Reference +
+

Ignored

+

Odd; used to be green, should not be since no sibling

+

Even, so should not be green

+

Odd, but no sibling, so should not be green

+

Even, so should not be green

+

Ignored

+

Odd, should be green

+
diff --git a/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes.html b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes.html new file mode 100644 index 0000000000..a8c2156483 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/nth-last-child-when-sibling-changes.html @@ -0,0 +1,25 @@ + + +CSS Selectors Invalidation: :nth-last-child(... of class) when sibling changes + + + + + +
+

Ignored

+

Odd; used to be green, should not be since no sibling

+

Even, so should not be green

+

Odd, but no sibling, so should not be green

+

Even, so should not be green

+

Ignored

+

Odd, should be green

+
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/quirks-mode-stylesheet-dynamic-add-001.html b/testing/web-platform/tests/css/selectors/invalidation/quirks-mode-stylesheet-dynamic-add-001.html new file mode 100644 index 0000000000..3d7be98237 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/quirks-mode-stylesheet-dynamic-add-001.html @@ -0,0 +1,27 @@ + + +Invalidation of style due to a dynamic stylesheet change in quirks mode + + + + + + +Should see a green square below. +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/selectorText-dynamic-001.html b/testing/web-platform/tests/css/selectors/invalidation/selectorText-dynamic-001.html new file mode 100644 index 0000000000..ac33eca826 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/selectorText-dynamic-001.html @@ -0,0 +1,24 @@ + + +CSS Test: invalidation of class changes when the selector in a rule has changed + + + + + + + +Should have a green background. + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-001.html b/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-001.html new file mode 100644 index 0000000000..44e38ad81e --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-001.html @@ -0,0 +1,26 @@ + + +CSS Test: invalidation of class changes when the sheet the style depends on goes away + + + + + + + + +Should have a green background. + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002-ref.html b/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002-ref.html new file mode 100644 index 0000000000..6784161773 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002-ref.html @@ -0,0 +1,7 @@ + + +CSS Test Reference + +

+ Should be green. +

diff --git a/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002.html b/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002.html new file mode 100644 index 0000000000..189abbe080 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/sheet-going-away-002.html @@ -0,0 +1,23 @@ + + +CSS Test: invalidation of class changes when the sheet the style depends on goes away + + + + + + + +

+ Should be green. +

+ + diff --git a/testing/web-platform/tests/css/selectors/invalidation/sibling.html b/testing/web-platform/tests/css/selectors/invalidation/sibling.html new file mode 100644 index 0000000000..c0e04fb8b3 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/sibling.html @@ -0,0 +1,139 @@ + + + + CSS Selectors Invalidation: sibling + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/subject-has-invalidation-with-display-none-anchor-element.html b/testing/web-platform/tests/css/selectors/invalidation/subject-has-invalidation-with-display-none-anchor-element.html new file mode 100644 index 0000000000..6c87560c69 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/subject-has-invalidation-with-display-none-anchor-element.html @@ -0,0 +1,29 @@ + + +CSS Selectors Invalidation: subject :has() invalidation with display: none anchor element + + + + + +

Click checkbox

+
PASS
+ + + diff --git a/testing/web-platform/tests/css/selectors/invalidation/target-pseudo-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/target-pseudo-in-has.html new file mode 100644 index 0000000000..629a6a826b --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/target-pseudo-in-has.html @@ -0,0 +1,90 @@ + + +CSS Selectors Invalidation: :target pseudo-class in :has() argument + + + + +link to #fragment +link to #fragment2 +link to #fragment3 +link to # +
+ 1: + Must be green when containing :target +
+
+ 2: + Must be green when containing :target +
+
+ 3: + Must be green when containing :target +
+ diff --git a/testing/web-platform/tests/css/selectors/invalidation/typed-child-indexed-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/typed-child-indexed-pseudo-classes-in-has.html new file mode 100644 index 0000000000..b3a91d67cb --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/typed-child-indexed-pseudo-classes-in-has.html @@ -0,0 +1,131 @@ + + +CSS Selectors Invalidation: typed child-indexed pseudo classes in :has() argument + + + + + +
+
+
+
+
+
+
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/user-action-pseudo-classes-in-has.html b/testing/web-platform/tests/css/selectors/invalidation/user-action-pseudo-classes-in-has.html new file mode 100644 index 0000000000..466e8610fd --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/user-action-pseudo-classes-in-has.html @@ -0,0 +1,115 @@ + + +CSS Selectors Invalidation: user-action pseudo classes in :has() argument + + + + + + + + +
+
+
Hover and click me
+
Focus me
+
Focus me
+
+
Focus me
+
+
+
subject
+
+
+
Focus me
+
subject
+
+ \ No newline at end of file diff --git a/testing/web-platform/tests/css/selectors/invalidation/where.html b/testing/web-platform/tests/css/selectors/invalidation/where.html new file mode 100644 index 0000000000..170398300f --- /dev/null +++ b/testing/web-platform/tests/css/selectors/invalidation/where.html @@ -0,0 +1,108 @@ + + + + CSS Selectors Invalidation: :where() + + + + + + + + +
+
+
+
+
+
+ Blue +
+
+
+ Yellow +
+
+ Red +
+
+ Green +
+
+ Red +
+
+ Yellow +
+ + + \ No newline at end of file -- cgit v1.2.3