Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spec URLs for HTML APIs #16234

Merged
merged 9 commits into from
May 31, 2022
3 changes: 3 additions & 0 deletions api/HTMLAllCollection.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"item": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAllCollection/item",
"spec_url": "https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#dom-htmlallcollection-item",
"support": {
"chrome": {
"version_added": "4"
Expand Down Expand Up @@ -98,6 +99,7 @@
"length": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAllCollection/length",
"spec_url": "https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#dom-htmlallcollection-length",
"support": {
"chrome": {
"version_added": "6"
Expand Down Expand Up @@ -146,6 +148,7 @@
"namedItem": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAllCollection/namedItem",
"spec_url": "https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#dom-htmlallcollection-nameditem",
"support": {
"chrome": {
"version_added": "4"
Expand Down
10 changes: 10 additions & 0 deletions api/HTMLAnchorElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"charset": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/charset",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-a-charset",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -99,6 +100,7 @@
"coords": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/coords",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-a-coords",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -196,6 +198,7 @@
"hreflang": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/hreflang",
"spec_url": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-hreflang",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -244,6 +247,7 @@
"name": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/name",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-a-name",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -291,6 +295,7 @@
},
"ping": {
"__compat": {
"spec_url": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-ping",
"support": {
"chrome": {
"version_added": "12"
Expand Down Expand Up @@ -486,6 +491,7 @@
"rev": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/rev",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-a-rev",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -534,6 +540,7 @@
"shape": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/shape",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-a-shape",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -582,6 +589,7 @@
"target": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/target",
"spec_url": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-target",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -630,6 +638,7 @@
"text": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/text",
"spec_url": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-text",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -678,6 +687,7 @@
"type": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAnchorElement/type",
"spec_url": "https://html.spec.whatwg.org/multipage/text-level-semantics.html#dom-a-type",
"support": {
"chrome": {
"version_added": "1"
Expand Down
7 changes: 7 additions & 0 deletions api/HTMLAreaElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"alt": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/alt",
"spec_url": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-alt",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -99,6 +100,7 @@
"coords": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/coords",
"spec_url": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-coords",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -147,6 +149,7 @@
"download": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/download",
"spec_url": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-download",
"support": {
"chrome": {
"version_added": "54"
Expand Down Expand Up @@ -195,6 +198,7 @@
"noHref": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/noHref",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-area-nohref",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -242,6 +246,7 @@
},
"ping": {
"__compat": {
"spec_url": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-ping",
"support": {
"chrome": {
"version_added": "12"
Expand Down Expand Up @@ -437,6 +442,7 @@
"shape": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/shape",
"spec_url": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-shape",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -485,6 +491,7 @@
"target": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLAreaElement/target",
"spec_url": "https://html.spec.whatwg.org/multipage/image-maps.html#dom-area-target",
"support": {
"chrome": {
"version_added": "1"
Expand Down
1 change: 1 addition & 0 deletions api/HTMLBRElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"clear": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBRElement/clear",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-br-clear",
"support": {
"chrome": {
"version_added": "1"
Expand Down
2 changes: 2 additions & 0 deletions api/HTMLBaseElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"href": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/href",
"spec_url": "https://html.spec.whatwg.org/multipage/semantics.html#dom-base-href",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -99,6 +100,7 @@
"target": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBaseElement/target",
"spec_url": "https://html.spec.whatwg.org/multipage/semantics.html#dom-base-target",
"support": {
"chrome": {
"version_added": "1"
Expand Down
6 changes: 6 additions & 0 deletions api/HTMLBodyElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"aLink": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/aLink",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-body-alink",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -99,6 +100,7 @@
"background": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/background",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-body-background",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -147,6 +149,7 @@
"bgColor": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/bgColor",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-body-bgcolor",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -195,6 +198,7 @@
"link": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/link",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-body-link",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -243,6 +247,7 @@
"text": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/text",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-body-text",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -291,6 +296,7 @@
"vLink": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLBodyElement/vLink",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-body-vlink",
"support": {
"chrome": {
"version_added": "1"
Expand Down
15 changes: 15 additions & 0 deletions api/HTMLButtonElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
},
"checkValidity": {
"__compat": {
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-checkvalidity-dev",
"support": {
"chrome": {
"version_added": "4"
Expand Down Expand Up @@ -147,6 +148,7 @@
"form": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/form",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fae-form-dev",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -195,6 +197,7 @@
"formAction": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formAction",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fs-formaction",
"support": {
"chrome": {
"version_added": "9"
Expand Down Expand Up @@ -245,6 +248,7 @@
"formEnctype": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formEnctype",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fs-formenctype",
"support": {
"chrome": {
"version_added": "9"
Expand Down Expand Up @@ -293,6 +297,7 @@
"formMethod": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formMethod",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fs-formmethod",
"support": {
"chrome": {
"version_added": "9"
Expand Down Expand Up @@ -341,6 +346,7 @@
"formNoValidate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formNoValidate",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fs-formnovalidate",
"support": {
"chrome": {
"version_added": "4"
Expand Down Expand Up @@ -389,6 +395,7 @@
"formTarget": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/formTarget",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fs-formtarget",
"support": {
"chrome": {
"version_added": "9"
Expand Down Expand Up @@ -486,6 +493,7 @@
"name": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/name",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-fe-name",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -534,6 +542,7 @@
"reportValidity": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/reportValidity",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-reportvalidity-dev",
"support": {
"chrome": {
"version_added": "40"
Expand Down Expand Up @@ -581,6 +590,7 @@
},
"setCustomValidity": {
"__compat": {
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-setcustomvalidity-dev",
"support": {
"chrome": {
"version_added": "4"
Expand Down Expand Up @@ -629,6 +639,7 @@
"type": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/type",
"spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#dom-button-type",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -677,6 +688,7 @@
"validationMessage": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validationMessage",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-validationmessage-dev",
"support": {
"chrome": {
"version_added": "5"
Expand Down Expand Up @@ -725,6 +737,7 @@
"validity": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/validity",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-constraint-validation-api:dom-cva-validity",
"support": {
"chrome": {
"version_added": "3"
Expand Down Expand Up @@ -773,6 +786,7 @@
"value": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/value",
"spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#dom-button-value",
"support": {
"chrome": {
"version_added": "1"
Expand Down Expand Up @@ -821,6 +835,7 @@
"willValidate": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLButtonElement/willValidate",
"spec_url": "https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#dom-cva-willvalidate-dev",
"support": {
"chrome": {
"version_added": "1"
Expand Down
1 change: 1 addition & 0 deletions api/HTMLDListElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"compact": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLDListElement/compact",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-dl-compact",
"support": {
"chrome": {
"version_added": "1"
Expand Down
1 change: 1 addition & 0 deletions api/HTMLDataListElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"options": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLDataListElement/options",
"spec_url": "https://html.spec.whatwg.org/multipage/form-elements.html#dom-datalist-options-dev",
"support": {
"chrome": {
"version_added": "20"
Expand Down
1 change: 1 addition & 0 deletions api/HTMLDetailsElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"open": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLDetailsElement/open",
"spec_url": "https://html.spec.whatwg.org/multipage/interactive-elements.html#dom-details-open",
"support": {
"chrome": {
"version_added": "10"
Expand Down
1 change: 1 addition & 0 deletions api/HTMLDirectoryElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
},
"compact": {
"__compat": {
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-dir-compact",
"support": {
"chrome": {
"version_added": "1"
Expand Down
1 change: 1 addition & 0 deletions api/HTMLDivElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
"align": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLDivElement/align",
"spec_url": "https://html.spec.whatwg.org/multipage/obsolete.html#dom-div-align",
"support": {
"chrome": {
"version_added": "1"
Expand Down
Loading