From 7798a1c6661e4c3f5dabf554f5898e38028d886d Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 31 Dec 2024 00:37:18 +0800 Subject: [PATCH] feat(css): Update css2 syntax for some pseudo-elements (#866) * feat(css): Remove css2 syntax for some pseudo-elements * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: Brian Smith --------- Co-authored-by: Brian Smith --- css/selectors.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/css/selectors.json b/css/selectors.json index 13f338ce..0a6fcbc8 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -884,7 +884,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-webkit-slider-thumb" }, "::after": { - "syntax": "/* CSS3 syntax */\n::after\n\n/* CSS2 syntax */\n:after", + "syntax": "::after", "groups": [ "Pseudo-elements", "Selectors" @@ -902,7 +902,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::backdrop" }, "::before": { - "syntax": "/* CSS3 syntax */\n::before\n\n/* CSS2 syntax */\n:before", + "syntax": "::before", "groups": [ "Pseudo-elements", "Selectors" @@ -928,7 +928,7 @@ "status": "standard" }, "::first-letter": { - "syntax": "/* CSS3 syntax */\n::first-letter\n\n/* CSS2 syntax */\n:first-letter", + "syntax": "::first-letter", "groups": [ "Pseudo-elements", "Selectors" @@ -937,7 +937,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::first-letter" }, "::first-line": { - "syntax": "/* CSS3 syntax */\n::first-line\n\n/* CSS2 syntax */\n:first-line", + "syntax": "::first-line", "groups": [ "Pseudo-elements", "Selectors"