Skip to content

Commit d00caa8

Browse files
committed
minor #12432 [CssSelector] Support *:only-of-type (hiddewie)
This PR was merged into the 4.4 branch. Discussion ---------- [CssSelector] Support *:only-of-type #12425 and symfony/symfony#33861 ![image](https://user-images.githubusercontent.com/1073881/66259057-0160f280-e7ad-11e9-9b1e-9558af79226b.png) Commits ------- 00584d1 Remove exception for only-of-type selector
2 parents 5a474dd + 00584d1 commit d00caa8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/css_selector.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,8 @@ rather than elements.
9393

9494
Several pseudo-classes are not yet supported:
9595

96-
* ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type``,
97-
``*:nth-last-of-type``, ``*:only-of-type``. (These work with an element
98-
name (e.g. ``li:first-of-type``) but not with ``*``).
96+
* ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type`` and
97+
``*:nth-last-of-type``.
9998

10099
Learn more
101100
----------

0 commit comments

Comments
 (0)