Skip to content

Commit 65105ce

Browse files
committed
Reword
1 parent d00caa8 commit 65105ce

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

components/css_selector.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,16 @@ Pseudo-elements (``:before``, ``:after``, ``:first-line``,
9191
``:first-letter``) are not supported because they select portions of text
9292
rather than elements.
9393

94-
Several pseudo-classes are not yet supported:
94+
Pseudo-classes are partially supported:
9595

96-
* ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type`` and
97-
``*:nth-last-of-type``.
96+
* Not supported: ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type`` and
97+
``*:nth-last-of-type`` (all these work with an element name (e.g.
98+
``li:first-of-type``) but not with the ``*`` selector).
99+
* Supported: ``*:only-of-type``.
100+
101+
.. versionadded:: 4.4
102+
103+
The support for ``*:only-of-type`` was introduced in Symfony 4.4.
98104

99105
Learn more
100106
----------

0 commit comments

Comments
 (0)