Skip to content

Commit 2ee45be

Browse files
authored
Add more Caniuse keys (#2476)
* Add caniuse matches * Add more caniuse keys * Add cq units * Revise comment * Add more caniuse * Add canisue to background
1 parent a0def70 commit 2ee45be

19 files changed

+22
-3
lines changed

features/ambient-light.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Ambient light sensor
22
description: The `AmbientLightSensor` interface returns the current light level in lux of the ambient light level around the device.
33
spec: https://w3c.github.io/ambient-light/
4+
caniuse: ambient-light
45
group: sensors
56
compat_features:
67
- api.AmbientLightSensor

features/array-includes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: The `includes()` method of arrays and typed arrays returns whether
33
spec:
44
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-array.prototype.includes
55
- https://tc39.es/ecma262/multipage/indexed-collections.html#sec-%25typedarray%25.prototype.includes
6+
caniuse: array-includes
67
snapshot: ecmascript-2016
78
group:
89
- arrays

features/background.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: background
22
description: The `background` CSS property is a shorthand that sets several background properties at once.
33
spec: https://drafts.csswg.org/css-backgrounds-3/#background
44
group: background
5+
caniuse: multibackgrounds
56
compat_features:
67
- css.properties.background
78
- css.properties.background.multiple_backgrounds

features/beacons.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Beacons
22
description: The `navigator.sendBeacon()` method asynchronously sends an HTTP POST request with a limited amount of data, typically for app state, events, and analytics data. The one-way beacon is guaranteed to be initiated before the browser unloads the page, but the sender does not get to handle the response.
33
spec: https://w3c.github.io/beacon/
4+
caniuse: beacon
45
compat_features:
56
- api.Navigator.sendBeacon

features/ch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ name: ch unit
22
description: The `ch` CSS length unit is a font-relative length based on the width of the zero (0) character.
33
spec: https://drafts.csswg.org/css-values-4/#font-relative-lengths
44
group: units
5+
caniuse: ch-unit
56
compat_features:
67
- css.types.length.ch

features/console.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Console
22
description: The `console` API logs debugging messages to the browser development tools' console.
33
spec: https://console.spec.whatwg.org/#console-namespace
44
group: html-elements
5+
caniuse: console-basic
56
status:
67
compute_from: api.console
78
compat_features:

features/container-queries.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: Container queries
22
description: Container size queries with the `@container` at-rule apply styles to an element based on the dimensions of its container.
33
spec: https://drafts.csswg.org/css-conditional-5/#container-queries
44
group: container-queries
5-
caniuse: css-container-queries
5+
caniuse:
6+
- css-container-queries
7+
- css-container-query-units
68
status:
79
compute_from: css.at-rules.container
810
compat_features:

features/cors.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: CORS
22
description: Cross-Origin Resource Sharing is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, or port) other than its own from which a browser should permit loading resources. Also known as CORS.
33
spec: https://fetch.spec.whatwg.org/#http-cors-protocol
44
group: security
5+
caniuse: cors
56
status:
67
compute_from: http.headers.Access-Control-Allow-Origin
78
compat_features:

features/display.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Display
22
description: The `display` CSS property sets the display behavior of an element's box within its layout and sets the layout behavior for its child elements.
33
spec: https://drafts.csswg.org/css-display-3/#the-display-properties
44
group: css
5+
caniuse: inline-block
56
status:
67
compute_from: css.properties.display
78
compat_features:

features/events.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ spec:
44
- https://html.spec.whatwg.org/multipage/indices.html#events-2
55
- https://dom.spec.whatwg.org/#interface-customevent
66
- https://dom.spec.whatwg.org/#interface-eventtarget
7+
caniuse: addeventlistener
78
status:
89
compute_from: api.EventTarget.addEventListener
910
compat_features:

0 commit comments

Comments
 (0)