Skip to content

Commit

Permalink
fix(css): Fix mdn_url for selectors and types (#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyclouds2001 authored Dec 21, 2024
1 parent 76d7860 commit f5689dc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 37 deletions.
57 changes: 21 additions & 36 deletions css/selectors.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,23 @@
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Selector_list"
},
"Adjacent sibling combinator": {
"Next-sibling combinator": {
"syntax": "A + B",
"groups": [
"Combinators",
"Selectors"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Adjacent_sibling_combinator"
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Next-sibling_combinator"
},
"General sibling combinator": {
"Subsequent-sibling combinator": {
"syntax": "A ~ B",
"groups": [
"Combinators",
"Selectors"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/General_sibling_combinator"
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Subsequent-sibling_combinator"
},
"Child combinator": {
"syntax": "A > B",
Expand Down Expand Up @@ -303,7 +303,7 @@
"Selectors"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:host()"
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:host_function"
},
":host-context()": {
"syntax": ":host-context( <compound-selector> )",
Expand All @@ -312,7 +312,7 @@
"Selectors"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:host-context()"
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:host-context"
},
":hover": {
"syntax": ":hover",
Expand Down Expand Up @@ -666,8 +666,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-browse"
"status": "nonstandard"
},
"::-ms-check": {
"syntax": "::-ms-check",
Expand All @@ -676,8 +675,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-check"
"status": "nonstandard"
},
"::-ms-clear": {
"syntax": "::-ms-clear",
Expand All @@ -686,8 +684,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-clear"
"status": "nonstandard"
},
"::-ms-expand": {
"syntax": "::-ms-expand",
Expand All @@ -696,8 +693,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-expand"
"status": "nonstandard"
},
"::-ms-fill": {
"syntax": "::-ms-fill",
Expand All @@ -706,8 +702,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-fill"
"status": "nonstandard"
},
"::-ms-fill-lower": {
"syntax": "::-ms-fill-lower",
Expand All @@ -716,8 +711,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-fill-lower"
"status": "nonstandard"
},
"::-ms-fill-upper": {
"syntax": "::-ms-fill-upper",
Expand All @@ -726,8 +720,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-fill-upper"
"status": "nonstandard"
},
"::-ms-reveal": {
"syntax": "::-ms-reveal",
Expand All @@ -736,8 +729,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-reveal"
"status": "nonstandard"
},
"::-ms-thumb": {
"syntax": "::-ms-thumb",
Expand All @@ -746,8 +738,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-thumb"
"status": "nonstandard"
},
"::-ms-ticks-after": {
"syntax": "::-ms-ticks-after",
Expand All @@ -756,8 +747,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-ticks-after"
"status": "nonstandard"
},
"::-ms-ticks-before": {
"syntax": "::-ms-ticks-before",
Expand All @@ -766,8 +756,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-ticks-before"
"status": "nonstandard"
},
"::-ms-tooltip": {
"syntax": "::-ms-tooltip",
Expand All @@ -776,8 +765,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-tooltip"
"status": "nonstandard"
},
"::-ms-track": {
"syntax": "::-ms-track",
Expand All @@ -786,8 +774,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-track"
"status": "nonstandard"
},
"::-ms-value": {
"syntax": "::-ms-value",
Expand All @@ -796,8 +783,7 @@
"Selectors",
"Microsoft Extensions"
],
"status": "nonstandard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::-ms-value"
"status": "nonstandard"
},
"::-moz-progress-bar": {
"syntax": "::-moz-progress-bar",
Expand Down Expand Up @@ -930,8 +916,7 @@
"Pseudo-elements",
"Selectors"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::cue-region"
"status": "standard"
},
"::first-letter": {
"syntax": "/* CSS3 syntax */\n::first-letter\n\n/* CSS2 syntax */\n:first-letter",
Expand Down
2 changes: 1 addition & 1 deletion css/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,6 @@
"CSS Types"
],
"status": "standard",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/url"
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/url_value"
}
}

0 comments on commit f5689dc

Please sign in to comment.