Skip to content

Commit cad019f

Browse files
committed
Add caniuse links where the IDs are different
Follow-up to web-platform-dx#3300 which only covered cases of (hyphenless) IDs matching. The starting point was a bunch of changes suggested by Gemini, asked to identify features that might be the same. The suggests were reviewed and about half of them are good. Comments were added where the features almost match but not quite. The description of execCommand() is also updated to reflect that the method sits on document, which is baked into the caniuse ID.
1 parent 613ba86 commit cad019f

12 files changed

+15
-1
lines changed

features/appearance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: appearance
22
description: "The `appearance` CSS property controls the appearance of form controls. Using `appearance: none` disables any default native appearance and allows the elements to be styled with CSS."
33
spec: https://drafts.csswg.org/css-ui-4/#appearance-switching
4+
caniuse: css-appearance
45
group: css
56
compat_features:
67
- css.properties.appearance
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: captureStream() for <audio> and <video>
22
description: The `captureStream()` method for `<audio>` and `<video>` elements returns a `MediaStream` for the media element's content. You can use this to record media or send it elsewhere, such as a canvas or WebRTC connection.
33
spec: https://w3c.github.io/mediacapture-fromelement/#html-media-element-media-capture-extensions
4+
# https://caniuse.com/mediacapture-fromelement is not linked because it covers
5+
# <audio>, <video>, and <canvas>, which are split here in web-features.
46
group: media-elements
57
compat_features:
68
- api.HTMLMediaElement.captureStream

features/capture-stream-canvas.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ description: The `captureStream()` method for `<canvas>` elements returns a `Med
66
#
77
# See also: https://bugzil.la/1231131
88
spec: https://w3c.github.io/mediacapture-fromelement/#html-canvas-element-media-capture-extensions
9+
# https://caniuse.com/mediacapture-fromelement is not linked because it covers
10+
# <audio>, <video>, and <canvas>, which are split here in web-features.
911
group: canvas
1012
status:
1113
compute_from: api.HTMLCanvasElement.captureStream

features/data-urls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Data URLs
22
description: Data URLs are URLs that start with the `data:` scheme and which directly contain data rather than point to remote resources.
33
spec: https://www.rfc-editor.org/rfc/rfc2397
4+
caniuse: datauri
45
status:
56
compute_from: http.data-url
67
compat_features:

features/execcommand.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: execCommand()
2-
description: The `execCommand()` method reads and writes from the clipboard and performs editing commands on editable text, such as changing the font name or style. Related methods check whether commands are supported, enabled, or applied.
2+
description: The `document.execCommand()` method reads and writes from the clipboard and performs editing commands on editable text, such as changing the font name or style. Related methods check whether commands are supported, enabled, or applied.
33
spec: https://w3c.github.io/editing/docs/execCommand/
4+
caniuse: document-execcommand
45
group: clipboard
56
discouraged:
67
according_to:

features/hsts.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: HTTP Strict Transport Security
22
description: The `Strict-Transport-Security` HTTP response header informs browsers that the site should only be accessed using HTTPS, and that any future attempts to access it using HTTP should automatically be converted to HTTPS. Also known as HSTS.
33
spec: https://www.rfc-editor.org/rfc/rfc6797
4+
caniuse: stricttransportsecurity
45
group: security
56
compat_features:
67
- http.headers.Strict-Transport-Security

features/mediastream-recording.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: MediaStream recording
22
description: The `MediaRecorder` API captures data generated by `MediaStream` or `HTMLMediaElement` objects for analysis, processing, or saving to disk. Also known as the Media Recording API.
33
spec: https://w3c.github.io/mediacapture-record/
4+
caniuse: mediarecorder
45
status:
56
compute_from:
67
- api.MediaRecorder.isTypeSupported_static

features/navigation-timing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Navigation timing
22
description: The `navigation` performance entry and the `PerformanceNavigationTiming` API measures navigation events, such as loading time or the number of redirects.
33
spec: https://w3c.github.io/navigation-timing/
4+
caniuse: nav-timing
45
group: performance
56
status:
67
compute_from: api.PerformanceNavigationTiming

features/network-information.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Network Information
22
description: The `navigator.connection` API provides information about the network connection a device is using and fires events when the connection type changes.
33
spec: https://wicg.github.io/netinfo/
4+
caniuse: netinfo
45
compat_features:
56
- api.Navigator.connection
67
- api.NetworkInformation

features/serial.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Web serial
22
description: The `navigator.serial` API communicates with devices over serial ports, such as microcontrollers.
33
spec: https://wicg.github.io/serial/
4+
caniuse: web-serial
45
status:
56
compute_from: api.Navigator.serial
67
compat_features:

0 commit comments

Comments
 (0)