Selectors Level 4 CR Test Suite

Logical Combinations (22 tests)

Test Refs Flags Info
+ 4 Logical Combinations
+ 4.1 Selector Lists
+ 4.2 The Matches-Any Pseudo-class: :is()
is Script CSS Selectors Invalidation: :is()
  • This tests that the :is() selector is effective
is-default-ns-001 = Default namespace gets ignored inside non-type selectors for :is() / :not() / :where().
is-default-ns-002 = Default namespace gets ignored inside non-type selectors for :is() / :not() / :where().
is-default-ns-003 = Default namespace respected inside :is() for non-subject compounds
is-nested Script CSS Selectors: :is()
  • This tests that the :is() selector is effective when nested
is-specificity Script CSS Selectors: :is()
  • This tests that the :is() selector chooses the correct specificity
is-specificity-shadow Script Specificity of :host() inside :is()
is-where-basic Script Basic :is/:where matching behavior
is-where-error-recovery Script CSS Selectors: :is() and :where() error recovery
is-where-not Script :is() inside :not()
is-where-parsing Script CSS Selectors: :is() and :where() parsing
is-where-pseudo-classes Script :is() combined with pseudo-classes
is-where-pseudo-elements = :is() combined with pseudo elements
is-where-shadow Script :is() inside shadow pseudos
is-where-visited = :is/:where combined with :visited/:link
+ 4.3 The Negation (Matches-None) Pseudo-class: :not()
not-001 Script CSS Selectors Invalidation: complex :not()
not-002 Script CSS Selectors Invalidation: complex :not()
not-default-ns-001 = Default namespace gets ignored inside non-type selectors for :is() / :not() / :where().
not-default-ns-002 = Default namespace gets ignored inside non-type selectors for :is() / :not() / :where().
not-default-ns-003 = Default namespace respected inside :is() for non-subject compounds
+ 4.4 The Specificity-adjustment Pseudo-class: :where()
is-where-error-recovery Script CSS Selectors: :is() and :where() error recovery
is-where-parsing Script CSS Selectors: :is() and :where() parsing
where Script CSS Selectors Invalidation: :where()
  • This tests that the :where() selector is effective
+ 4.5 The Relational Pseudo-class: :has()