From f61c919fdf937f1827489a7c6d5e7fcac108db42 Mon Sep 17 00:00:00 2001 From: "hubert.lenoir" Date: Wed, 28 Dec 2022 13:39:22 +0100 Subject: [PATCH] [CssSelector] add support for :is() and :where() --- components/css_selector.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/css_selector.rst b/components/css_selector.rst index c09f80a3cf4..1331a11e616 100644 --- a/components/css_selector.rst +++ b/components/css_selector.rst @@ -92,7 +92,11 @@ Pseudo-classes are partially supported: * Not supported: ``*:first-of-type``, ``*:last-of-type``, ``*:nth-of-type`` and ``*:nth-last-of-type`` (all these work with an element name (e.g. ``li:first-of-type``) but not with the ``*`` selector). -* Supported: ``*:only-of-type``, ``*:scope``. +* Supported: ``*:only-of-type``, ``*:scope``, ``*:is`` and ``*:where``. + +.. versionadded:: 7.1 + + The support for ``*:is`` and ``*:where`` was introduced in Symfony 7.1. Learn more ----------