Skip to content

Commit bb5b602

Browse files
committed
[CssSelector] add support for :is() and :where()
1 parent 8612bab commit bb5b602

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

components/css_selector.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,16 @@ Pseudo-classes are partially supported:
9292
* Not supported: ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type`` and
9393
``*:nth-last-of-type`` (all these work with an element name (e.g.
9494
``li:first-of-type``) but not with the ``*`` selector).
95-
* Supported: ``*:only-of-type``, ``*:scope``.
95+
* Supported: ``*:only-of-type``, ``*:scope``, ``*:is`` and ``*:where``.
9696

9797
.. versionadded:: 6.3
9898

9999
The support for ``*:scope`` was introduced in Symfony 6.3.
100100

101+
.. versionadded:: 6.4
102+
103+
The support for ``*:is`` and ``*:where`` were introduced in Symfony 6.4.
104+
101105
Learn more
102106
----------
103107

0 commit comments

Comments
 (0)