Skip to content

Commit

Permalink
feat(css): Update css2 syntax for some pseudo-elements (#866)
Browse files Browse the repository at this point in the history
* feat(css): Remove css2 syntax for some pseudo-elements

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Brian Smith <[email protected]>

---------

Co-authored-by: Brian Smith <[email protected]>
  • Loading branch information
skyclouds2001 and bsmth authored Dec 30, 2024
1 parent 9934f04 commit 7798a1c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions css/selectors.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 7798a1c

Please sign in to comment.