Skip to content

Commit

Permalink
Add missing specifications sections (mdn#35704)
Browse files Browse the repository at this point in the history
* Link specifications for Selection.modify method

* Add others

---------

Co-authored-by: Joshua Chen <[email protected]>
  • Loading branch information
GaurangTandon and Josh-Cena authored Sep 2, 2024
1 parent 8ec1d24 commit b25d877
Show file tree
Hide file tree
Showing 107 changed files with 275 additions and 97 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ playButton.addEventListener("click", () => {

## Specifications

Since the August 29 2014 [Web Audio API specification](https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-createscriptprocessor) publication, this feature has been deprecated. It is no longer on track to become a standard.

It was replaced by [AudioWorklets](/en-US/docs/Web/API/AudioWorklet) and the {{domxref("AudioWorkletNode")}} interface.
{{Specifications}}

## Browser compatibility

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ None ({{jsxref("undefined")}}).

## Specifications

This method is no longer on a standardization track. It is kept for compatibility purposes. Use the constructor {{domxref("CompositionEvent.CompositionEvent", "CompositionEvent()")}}.
{{Specifications}}

## Browser compatibility

Expand Down
5 changes: 1 addition & 4 deletions files/en-us/web/api/cssvalue/csstext/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ It has been superseded by a modern, but incompatible, [CSS Typed Object Model AP

## Browser compatibility

This feature was originally defined in the [DOM Style Level 2](https://www.w3.org/TR/DOM-Level-2-Style/) specification, but has been dropped from any
standardization effort since then.

It has been superseded by a modern, but incompatible, [CSS Typed Object Model API](/en-US/docs/Web/API/CSS_Typed_OM_API) that is now on the standard track.
{{Compat}}

## See also

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/document/execcommand/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function insertText(newText, selector) {

## Specifications

This feature is not part of any current specification, but there is an [unofficial draft](https://w3c.github.io/editing/docs/execCommand/) attempting to specify it.
{{Specifications}}

## Browser compatibility

Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/document/fgcolor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ in hexadecimal).

Another alternative is `document.body.text`, although this is [deprecated in HTML 4.01](https://www.w3.org/TR/html401/struct/global.html#adef-text) in favor of the CSS alternative above.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
4 changes: 1 addition & 3 deletions files/en-us/web/api/document/linkcolor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ document.linkColor = "blue";

## Specifications

HTML5

`Document.linkColor` is [deprecated in DOM Level 2 HTML](https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268).
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/document/xmlencoding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Then, the result should be "UTF-16".

## Specifications

This feature is not part of any specification anymore. It is no more on track to become a standard.
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/document/xmlversion/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (document.createElement("foo").tagName === "FOO") {

## Specifications

This feature is not part of any specification anymore. It is no more on track to become a standard.
{{Specifications}}

## Browser compatibility

Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/htmlallcollection/item/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ item(nameOrIndex)

If `nameOrIndex` represents an index, `item()` returns the {{domxref("Element")}} at the specified index, or `null` if `nameOrIndex` is less than zero or greater than or equal to the length property. If `nameOrIndex` represents a name, `item()` returns the same value as {{domxref("HTMLAllCollection/namedItem", "namedItem()")}}.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/htmlcollection/item/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ const img0 = images.item(0); // You can use the item() method this way
const img1 = images[1]; // But this notation is easier and more common
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlfontelement/color/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ f.color = "green";

## Specifications

The `<font>` element has been deprecated and is no longer supported and, as a result, neither is `<font>.color`.
{{Specifications}}

## Browser compatibility

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/api/htmlfontelement/face/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ f.face = "arial";

## Specifications

The `<font>` element has been deprecated and is no longer supported and, as a result, neither is
`<font>.face`.
{{Specifications}}

## Browser compatibility

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/api/htmlfontelement/size/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ f.size = "6";

## Specifications

The `<font>` element has been deprecated and is no longer supported and, as a result, neither is
`<font>.size`.
{{Specifications}}

## Browser compatibility

Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/htmlformelement/encoding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ browser-compat: api.HTMLFormElement.encoding

The **`HTMLFormElement.encoding`** property is an alternative name for the {{domxref("HTMLFormElement.enctype","enctype")}} element on the DOM {{domxref("HTMLFormElement")}} object.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
4 changes: 4 additions & 0 deletions files/en-us/web/api/htmlhtmlelement/version/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ browser-compat: api.HTMLHtmlElement.version
Returns version information about the document type definition (DTD) of a document. While this property is recognized by Mozilla, the return value for this property is always an empty string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmlimageelement/longdesc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ With that, the image is a link to the HTML file describing the image in more det

## Specifications

This feature is not part of any current specification. It is no longer on track to become a standard.
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/align/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ t.align = "center";

## Specifications

- W3C DOM 2 HTML Specification [_HTMLTableElement.align_](https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-23180977).
{{Specifications}}

## Browser compatibility

Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/htmltableelement/border/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@ t.border = "2";

## Specifications

W3C DOM 2 HTML Specification [_HTMLTableElement.border_](https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-50969400).

This attribute is deprecated in HTML 4.0.
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/cellpadding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ t.cellPadding = "10";

## Specifications

- W3C DOM 2 HTML Specification [_HTMLTableElement.cellPadding_](https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-59162158).
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/cellspacing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ t.cellSpacing = "10";

## Specifications

- W3C DOM 2 HTML Specification [_HTMLTableElement.cellSpacing_](https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-68907883).
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/frame/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ t.border = "2px";

## Specifications

- W3C DOM 2 HTML Specification
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ t.rules = "all";

## Specifications

- W3C DOM 2 HTML Specification
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/summary/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ HTMLTableElement.summary = "Usage statistics";

## Specifications

- W3C DOM 2 HTML Specification
{{Specifications}}

## Browser compatibility

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/htmltableelement/width/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mytable.width = "75%";

## Specifications

- W3C DOM 2 HTML Specification [_HTMLTableElement.width_](https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-77447361)
{{Specifications}}

## Browser compatibility

Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbdatabase/close_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ dBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbdatabase/versionchange_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ dBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbopendbrequest/blocked_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ DBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ dBOpenRequest.onupgradeneeded = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbrequest/error_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ DBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbrequest/success_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ openRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbtransaction/abort_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ DBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbtransaction/complete_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ DBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/idbtransaction/error_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ dBOpenRequest.onsuccess = (event) => {
};
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/mediasource/mediasource/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ if ("MediaSource" in window && MediaSource.isTypeSupported(mimeCodec)) {
//
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
Expand Down
4 changes: 4 additions & 0 deletions files/en-us/web/api/mediatracksupportedconstraints/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ For tracks containing video sources from the user's screen contents, the followi
- {{domxref("MediaTrackSupportedConstraints.logicalSurface", "logicalSurface")}}
- : A Boolean value which is `true` if the {{domxref("MediaTrackConstraints.logicalSurface", "logicalSurface")}} constraint is supported in the current environment.

## Specifications

{{Specifications}}

## See also

- [Media Capture and Streams API](/en-US/docs/Web/API/Media_Capture_and_Streams_API)
Expand Down
4 changes: 1 addition & 3 deletions files/en-us/web/api/mouseevent/initmouseevent/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ simulateClick();

## Specifications

This feature is not part of any specification. It is no longer on track to becoming a standard.

Use the {{domxref("MouseEvent.MouseEvent", "MouseEvent()")}} constructor instead.
{{Specifications}}

## Browser compatibility

Expand Down
7 changes: 4 additions & 3 deletions files/en-us/web/api/navigator/getusermedia/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ if (navigator.getUserMedia) {
}
```

## Browser compatibility
## Specifications

{{Specifications}}

> [!WARNING]
> New code should use {{domxref("MediaDevices.getUserMedia")}} instead.
## Browser compatibility

{{Compat}}

Expand Down
3 changes: 1 addition & 2 deletions files/en-us/web/api/performance/navigation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ A {{domxref("PerformanceNavigation")}} object.

## Specifications

This feature is no longer on track to become a standard, as the [Navigation Timing specification](https://w3c.github.io/navigation-timing/#obsolete) has marked it as deprecated.
Use the {{domxref("PerformanceNavigationTiming")}} interface instead.
{{Specifications}}

## Browser compatibility

Expand Down
Loading

0 comments on commit b25d877

Please sign in to comment.