Skip to content

Commit 00584d1

Browse files
committed
Remove exception for only-of-type selector
1 parent cc3f1c2 commit 00584d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

components/css_selector.rst

+2-3
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)