Skip to content

Commit

Permalink
Update spec urls of CSS pseudo classes (#25556)
Browse files Browse the repository at this point in the history
Add missing links/Update links of pseudo classes
  • Loading branch information
skyclouds2001 authored Jan 2, 2025
1 parent aefaa2c commit 96a0fc8
Show file tree
Hide file tree
Showing 24 changed files with 49 additions and 24 deletions.
2 changes: 1 addition & 1 deletion css/selectors/active.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:active",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-active",
"https://drafts.csswg.org/selectors/#the-active-pseudo"
"https://drafts.csswg.org/selectors/#active-pseudo"
],
"tags": [
"web-features:user-action-pseudos"
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/autofill.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:autofill`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:autofill",
"spec_url": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-autofill",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-autofill",
"https://drafts.csswg.org/selectors/#selectordef-autofill"
],
"tags": [
"web-features:autofill"
],
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/checked.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:checked",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-checked",
"https://drafts.csswg.org/selectors/#checked"
"https://drafts.csswg.org/selectors/#checked-pseudo"
],
"tags": [
"web-features:input-selectors"
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/defined.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:defined`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:defined",
"spec_url": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-defined",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-defined",
"https://drafts.csswg.org/selectors/#defined-pseudo"
],
"tags": [
"web-features:autonomous-custom-elements"
],
Expand Down
3 changes: 2 additions & 1 deletion css/selectors/dir.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:dir",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-ltr",
"https://drafts.csswg.org/selectors/#the-dir-pseudo"
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-rtl",
"https://drafts.csswg.org/selectors/#dir-pseudo"
],
"tags": [
"web-features:dir-pseudo"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/disabled.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:disabled",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-disabled",
"https://drafts.csswg.org/selectors/#enableddisabled"
"https://drafts.csswg.org/selectors/#disabled-pseudo"
],
"tags": [
"web-features:input-selectors"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/enabled.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:enabled",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-enabled",
"https://drafts.csswg.org/selectors/#enableddisabled"
"https://drafts.csswg.org/selectors/#enabled-pseudo"
],
"tags": [
"web-features:input-selectors"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/hover.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:hover",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-hover",
"https://drafts.csswg.org/selectors/#the-hover-pseudo"
"https://drafts.csswg.org/selectors/#hover-pseudo"
],
"tags": [
"web-features:user-action-pseudos"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/indeterminate.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:indeterminate",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-indeterminate",
"https://drafts.csswg.org/selectors/#indeterminate"
"https://drafts.csswg.org/selectors/#indeterminate-pseudo"
],
"tags": [
"web-features:indeterminate"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/invalid.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:invalid",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-invalid",
"https://drafts.csswg.org/selectors/#validity-pseudos"
"https://drafts.csswg.org/selectors/#invalid-pseudo"
],
"tags": [
"web-features:form-validity-pseudos"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/link.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:link",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-link",
"https://drafts.csswg.org/selectors/#link"
"https://drafts.csswg.org/selectors/#link-pseudo"
],
"tags": [
"web-features:link-selectors"
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/modal.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:modal`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:modal",
"spec_url": "https://drafts.csswg.org/selectors/#modal-state",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-modal",
"https://drafts.csswg.org/selectors/#selectordef-modal"
],
"tags": [
"web-features:modal"
],
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/open.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
"open": {
"__compat": {
"description": "`:open`",
"spec_url": "https://drafts.csswg.org/selectors-4/#open-state",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-open",
"https://drafts.csswg.org/selectors/#selectordef-open"
],
"tags": [
"web-features:open-closed"
],
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/optional.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:optional",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-optional",
"https://drafts.csswg.org/selectors/#opt-pseudos"
"https://drafts.csswg.org/selectors/#optional-pseudo"
],
"tags": [
"web-features:form-validity-pseudos"
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/placeholder-shown.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:placeholder-shown`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:placeholder-shown",
"spec_url": "https://drafts.csswg.org/selectors/#placeholder",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-placeholder-shown",
"https://drafts.csswg.org/selectors/#placeholder-shown-pseudo"
],
"tags": [
"web-features:placeholder-shown"
],
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/popover-open.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:popover-open`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:popover-open",
"spec_url": "https://html.spec.whatwg.org/multipage/semantics-other.html#selector-popover-open",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-popover-open",
"https://drafts.csswg.org/selectors/#selectordef-popover-open"
],
"tags": [
"web-features:popover"
],
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/read-only.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:read-only",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-read-only",
"https://drafts.csswg.org/selectors/#rw-pseudos"
"https://drafts.csswg.org/selectors/#read-only-pseudo"
],
"tags": [
"web-features:read-write-pseudos"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/read-write.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:read-write",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-read-write",
"https://drafts.csswg.org/selectors/#rw-pseudos"
"https://drafts.csswg.org/selectors/#read-write-pseudo"
],
"tags": [
"web-features:read-write-pseudos"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/required.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:required",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-required",
"https://drafts.csswg.org/selectors/#opt-pseudos"
"https://drafts.csswg.org/selectors/#required-pseudo"
],
"tags": [
"web-features:form-validity-pseudos"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/target.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:target",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-target",
"https://drafts.csswg.org/selectors/#the-target-pseudo"
"https://drafts.csswg.org/selectors/#target-pseudo"
],
"tags": [
"web-features:target"
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/user-invalid.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:user-invalid`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:user-invalid",
"spec_url": "https://drafts.csswg.org/selectors/#user-invalid-pseudo",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-user-invalid",
"https://drafts.csswg.org/selectors/#user-invalid-pseudo"
],
"tags": [
"web-features:user-pseudos"
],
Expand Down
5 changes: 4 additions & 1 deletion css/selectors/user-valid.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"__compat": {
"description": "`:user-valid`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:user-valid",
"spec_url": "https://drafts.csswg.org/selectors/#user-valid-pseudo",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-user-valid",
"https://drafts.csswg.org/selectors/#user-valid-pseudo"
],
"tags": [
"web-features:user-pseudos"
],
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/valid.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:valid",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-valid",
"https://drafts.csswg.org/selectors/#validity-pseudos"
"https://drafts.csswg.org/selectors/#valid-pseudo"
],
"tags": [
"web-features:form-validity-pseudos"
Expand Down
2 changes: 1 addition & 1 deletion css/selectors/visited.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:visited",
"spec_url": [
"https://html.spec.whatwg.org/multipage/semantics-other.html#selector-visited",
"https://drafts.csswg.org/selectors/#link"
"https://drafts.csswg.org/selectors/#visited-pseudo"
],
"tags": [
"web-features:link-selectors"
Expand Down

0 comments on commit 96a0fc8

Please sign in to comment.