Skip to content

Commit

Permalink
Remove APIs that have never been shipped
Browse files Browse the repository at this point in the history
Element.tabStop is redirected to ShadowRoot.delegatesFocus per the
description in the removed page.

HTMLElement.forceSpellCheck is redirected to the spellcheck attributes,
as the closest / most relevant thing on the platform.

The regionCode entries are redirected to their parent interfaces.

BCD cleanup: mdn/browser-compat-data#10581
  • Loading branch information
foolip authored and sideshowbarker committed May 29, 2021
1 parent cfc1b00 commit 14bda89
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 242 deletions.
10 changes: 7 additions & 3 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4080,7 +4080,7 @@
/en-US/docs/HTML:Inline_elements /en-US/docs/Web/HTML/Inline_elements
/en-US/docs/HTML:The_Importance_of_Correct_Commenting /en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#HTML_comments
/en-US/docs/HTML:tag /en-US/docs/Web/HTML/Element
/en-US/docs/HTMLElement.forceSpellCheck /en-US/docs/Web/API/HTMLElement/forceSpellCheck
/en-US/docs/HTMLElement.forceSpellCheck /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/HTMLObjectElement.type /en-US/docs/Web/API/HTMLObjectElement/type
/en-US/docs/HTMLOptionElement.Option /en-US/docs/Web/API/HTMLOptionElement/Option
/en-US/docs/HTMLSpanElemen /en-US/docs/Web/API/HTMLSpanElement
Expand Down Expand Up @@ -6808,6 +6808,7 @@
/en-US/docs/Web-related_technologies /en-US/docs/Related
/en-US/docs/Web/API/AbortController/FetchController /en-US/docs/Web/API/AbortController/AbortController
/en-US/docs/Web/API/AbstractWorker.onerror /en-US/docs/Web/API/AbstractWorker/onerror
/en-US/docs/Web/API/AddressErrors/regionCode /en-US/docs/Web/API/AddressErrors
/en-US/docs/Web/API/AmbientLightSensor/reading /en-US/docs/Web/API/AmbientLightSensor/illuminance
/en-US/docs/Web/API/AmbientLightSensorReading /en-US/docs/Web/API/AmbientLightSensor
/en-US/docs/Web/API/AmbientLightSensorReading/AmbientLightSensorReading /en-US/docs/Web/API/AmbientLightSensor/AmbientLightSensor
Expand Down Expand Up @@ -7401,6 +7402,7 @@
/en-US/docs/Web/API/Element/pointerover_event /en-US/docs/Web/API/HTMLElement/pointerover_event
/en-US/docs/Web/API/Element/pointerup_event /en-US/docs/Web/API/HTMLElement/pointerup_event
/en-US/docs/Web/API/Element/resourcetimingbufferfull_event /en-US/docs/Web/API/Performance/resourcetimingbufferfull_event
/en-US/docs/Web/API/Element/tabStop /en-US/docs/Web/API/ShadowRoot/delegatesFocus
/en-US/docs/Web/API/ElementTraversal.childElementCount /en-US/docs/Web/API/Element/childElementCount
/en-US/docs/Web/API/ElementTraversal.firstElementChild /en-US/docs/Web/API/Element/firstElementChild
/en-US/docs/Web/API/ElementTraversal.lastElementChild /en-US/docs/Web/API/Element/lastElementChild
Expand Down Expand Up @@ -7606,8 +7608,8 @@
/en-US/docs/Web/API/HTMLElement.dataset /en-US/docs/Web/API/HTMLOrForeignElement/dataset
/en-US/docs/Web/API/HTMLElement.dir /en-US/docs/Web/API/HTMLElement/dir
/en-US/docs/Web/API/HTMLElement.focus /en-US/docs/Web/API/HTMLOrForeignElement/focus
/en-US/docs/Web/API/HTMLElement.forceSpellCheck /en-US/docs/Web/API/HTMLElement/forceSpellCheck
/en-US/docs/Web/API/HTMLElement.forceSpellCheck() /en-US/docs/Web/API/HTMLElement/forceSpellCheck
/en-US/docs/Web/API/HTMLElement.forceSpellCheck /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/Web/API/HTMLElement.forceSpellCheck() /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/Web/API/HTMLElement.isContentEditable /en-US/docs/Web/API/HTMLElement/isContentEditable
/en-US/docs/Web/API/HTMLElement.lang /en-US/docs/Web/API/HTMLElement/lang
/en-US/docs/Web/API/HTMLElement.offsetHeight /en-US/docs/Web/API/HTMLElement/offsetHeight
Expand All @@ -7625,6 +7627,7 @@
/en-US/docs/Web/API/HTMLElement/blur /en-US/docs/Web/API/HTMLOrForeignElement/blur
/en-US/docs/Web/API/HTMLElement/dataset /en-US/docs/Web/API/HTMLOrForeignElement/dataset
/en-US/docs/Web/API/HTMLElement/focus /en-US/docs/Web/API/HTMLOrForeignElement/focus
/en-US/docs/Web/API/HTMLElement/forceSpellCheck /en-US/docs/Web/HTML/Global_attributes/spellcheck
/en-US/docs/Web/API/HTMLElement/invalid_event /en-US/docs/Web/API/HTMLInputElement/invalid_event
/en-US/docs/Web/API/HTMLElement/nonce /en-US/docs/Web/API/HTMLOrForeignElement/nonce
/en-US/docs/Web/API/HTMLElement/onabort /en-US/docs/Web/API/GlobalEventHandlers/onabort
Expand Down Expand Up @@ -8244,6 +8247,7 @@
/en-US/docs/Web/API/Path2D.Path2D /en-US/docs/Web/API/Path2D/Path2D
/en-US/docs/Web/API/Path2D.addPath /en-US/docs/Web/API/Path2D/addPath
/en-US/docs/Web/API/PaymentAddress/PaymentAddress.country /en-US/docs/Web/API/PaymentAddress/country
/en-US/docs/Web/API/PaymentAddress/regionCode /en-US/docs/Web/API/PaymentAddress
/en-US/docs/Web/API/PaymentRequest/PaymentRequest.onmerchantvalidation /en-US/docs/Web/API/PaymentRequest/onmerchantvalidation
/en-US/docs/Web/API/PaymentRequest/shippingaddresschange /en-US/docs/Web/API/PaymentRequest/shippingaddresschange_event
/en-US/docs/Web/API/PaymentRequestEvent/topLevelOrigin /en-US/docs/Web/API/PaymentRequestEvent/topOrigin
Expand Down
38 changes: 0 additions & 38 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -26975,12 +26975,6 @@
"Sheppy"
]
},
"Web/API/AddressErrors/regionCode": {
"modified": "2020-10-15T22:08:49.176Z",
"contributors": [
"Sheppy"
]
},
"Web/API/AddressErrors/sortingCode": {
"modified": "2020-10-15T22:08:48.856Z",
"contributors": [
Expand Down Expand Up @@ -44801,18 +44795,6 @@
"jpmedley"
]
},
"Web/API/Element/tabStop": {
"modified": "2020-10-15T21:34:32.666Z",
"contributors": [
"fscholz",
"Jedipedia",
"valtlai",
"rolfedh",
"Sebastianz",
"teoli",
"jpmedley"
]
},
"Web/API/Element/tagName": {
"modified": "2020-10-15T21:06:35.308Z",
"contributors": [
Expand Down Expand Up @@ -51632,16 +51614,6 @@
"JesseW"
]
},
"Web/API/HTMLElement/forceSpellCheck": {
"modified": "2020-10-15T21:31:35.664Z",
"contributors": [
"mfluehr",
"sideshowbarker",
"fscholz",
"alicebeckett",
"teoli"
]
},
"Web/API/HTMLElement/gotpointercapture_event": {
"modified": "2020-10-15T21:39:52.295Z",
"contributors": [
Expand Down Expand Up @@ -68490,16 +68462,6 @@
"dgashmdn"
]
},
"Web/API/PaymentAddress/regionCode": {
"modified": "2020-10-15T22:02:38.019Z",
"contributors": [
"sideshowbarker",
"Sheppy",
"chrisdavidmills",
"mnoorenberghe",
"marcoscaceres"
]
},
"Web/API/PaymentAddress/sortingCode": {
"modified": "2020-10-15T21:49:12.221Z",
"contributors": [
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/addresserrors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ <h2 id="Properties">Properties</h2>
<dd>A {{domxref("DOMString")}} which, if present, indicates that the {{domxref("PaymentAddress.recipient", "recipient")}} property of the {{domxref("PaymentAddress")}} could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem.</dd>
<dt>{{domxref("AddressErrors.region", "region")}}</dt>
<dd>A {{domxref("DOMString")}} which, if present, indicates that the {{domxref("PaymentAddress.region", "region")}} property of the {{domxref("PaymentAddress")}} could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem.</dd>
<dt>{{domxref("AddressErrors.regionCode", "regionCode")}}</dt>
<dd>A {{domxref("DOMString")}} which, if present, indicates that the {{domxref("PaymentAddress.regionCode", "regionCode")}} property of the {{domxref("PaymentAddress")}} could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem.</dd>
<dt>{{domxref("AddressErrors.sortingCode", "sortingCode")}}</dt>
<dd>A {{domxref("DOMString")}} which, if present, indicates that the {{domxref("PaymentAddress.sortingCode", "sortingCode")}} property of the {{domxref("PaymentAddress")}} could not be validated. The contents of the string provide a human-readable explanation of the validation failure, and ideally suggestions to correct the problem.</dd>
</dl>
Expand Down
63 changes: 0 additions & 63 deletions files/en-us/web/api/addresserrors/regioncode/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions files/en-us/web/api/element/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ <h2 id="Properties">Properties</h2>
<dd>Returns the shadow root that is hosted by the element, regardless if its open or closed. <strong>Available only to <a href="/en-US/docs/Mozilla/Add-ons/WebExtensions">WebExtensions</a>.</strong></dd>
<dt>{{DOMxRef("Element.slot")}} {{Experimental_Inline}}</dt>
<dd>Returns the name of the shadow DOM slot the element is inserted in.</dd>
<dt>{{DOMxRef("Element.tabStop")}} {{Non-standard_Inline}}</dt>
<dd>Is a {{jsxref("Boolean")}} indicating if the element can receive input focus via the tab key.</dd>
<dt>{{DOMxRef("Element.tagName")}} {{readOnlyInline}}</dt>
<dd>Returns a {{jsxref("String")}} with the name of the tag for the given element.</dd>
</dl>
Expand Down
32 changes: 0 additions & 32 deletions files/en-us/web/api/element/tabstop/index.html

This file was deleted.

36 changes: 0 additions & 36 deletions files/en-us/web/api/htmlelement/forcespellcheck/index.html

This file was deleted.

2 changes: 0 additions & 2 deletions files/en-us/web/api/htmlelement/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ <h2 id="Methods">Methods</h2>
<dd>Sends a mouse click event to the element.</dd>
<dt>{{DOMxRef("HTMLOrForeignElement.focus()")}}</dt>
<dd>Makes the element the current keyboard focus.</dd>
<dt>{{DOMxRef("HTMLElement.forceSpellCheck()")}} {{Experimental_Inline}}</dt>
<dd>Runs the spell checker on the element's contents.</dd>
</dl>

<h2 id="Events">Events</h2>
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/api/paymentaddress/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ <h2 id="Properties">Properties</h2>
<dd>A {{domxref("DOMString")}} giving the name of the recipient, purchaser, or contact person at the payment address.</dd>
<dt>{{domxref('PaymentAddress.region')}} {{readonlyinline}}{{deprecated_inline}}</dt>
<dd>A {{domxref("DOMString")}} containing the top level administrative subdivision of the country, for example a state, province, oblast, or prefecture.</dd>
<dt>{{domxref('PaymentAddress.regionCode')}} {{readonlyinline}}{{deprecated_inline}}</dt>
<dd>A {{domxref("DOMString")}} specifying the region of the address, represented as a "code element" of an <a href="https://en.wikipedia.org/wiki/ISO_3166-2">ISO3166-2</a> country subdivision name (e.g. "QLD" for Queensland, Australia, "CA" for California, and so on).</dd>
<dt>{{domxref('PaymentAddress.sortingCode')}} {{readonlyinline}}{{deprecated_inline}}</dt>
<dd>A {{domxref("DOMString")}} providing a postal sorting code such as is used in France.</dd>
</dl>
Expand Down
62 changes: 0 additions & 62 deletions files/en-us/web/api/paymentaddress/regioncode/index.html

This file was deleted.

0 comments on commit 14bda89

Please sign in to comment.