From 28780fc9cc7f453d532c66c0bb175792da883e36 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 27 Mar 2024 11:03:08 +0100 Subject: [PATCH 01/13] Make description mandatory and published --- index.ts | 1 - schemas/defs.schema.json | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index a1f15a09a32..86ee4e12c9a 100644 --- a/index.ts +++ b/index.ts @@ -16,7 +16,6 @@ const descriptionMaxLength = 300; // Some FeatureData keys aren't (and may never) be ready for publishing. // They're not part of the public schema (yet). const omittables = [ - "description", "snapshot", "group" ] diff --git a/schemas/defs.schema.json b/schemas/defs.schema.json index d087e14978a..4dabe3b80c1 100644 --- a/schemas/defs.schema.json +++ b/schemas/defs.schema.json @@ -48,6 +48,11 @@ "description": "Short name", "type": "string" }, + "description": { + "description": "Short description of the feature", + "type": "string", + "maxLength": 300 + }, "spec": { "anyOf": [ { @@ -148,7 +153,8 @@ }, "required": [ "name", - "spec" + "spec", + "description" ], "type": "object" } From 492f8dcc22c8aa20775d0c4ca80e36d138ac5c8e Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 27 Mar 2024 11:03:18 +0100 Subject: [PATCH 02/13] First batch of descriptions --- feature-group-definitions/aborting.yml | 1 + feature-group-definitions/array-group.yml | 1 + feature-group-definitions/async-await.yml | 1 + feature-group-definitions/async-clipboard.yml | 1 + feature-group-definitions/avif.yml | 1 + feature-group-definitions/backdrop-filter.yml | 1 + feature-group-definitions/background-fetch.yml | 1 + feature-group-definitions/background-gradients.yml | 1 + feature-group-definitions/bigint.yml | 1 + feature-group-definitions/border-image.yml | 1 + feature-group-definitions/broadcast-channel.yml | 1 + feature-group-definitions/canvas-context-lost.yml | 1 + feature-group-definitions/cascade-layers.yml | 1 + feature-group-definitions/check-visibility.yml | 1 + feature-group-definitions/class-syntax.yml | 1 + feature-group-definitions/colrv1.yml | 1 + feature-group-definitions/compression-streams.yml | 1 + feature-group-definitions/constraint-validation.yml | 1 + feature-group-definitions/contain-intrinsic-size.yml | 1 + feature-group-definitions/container-queries.yml | 1 + feature-group-definitions/container-style-queries.yml | 1 + feature-group-definitions/content-visibility.yml | 1 + feature-group-definitions/custom-elements.yml | 1 + feature-group-definitions/custom-properties.yml | 1 + feature-group-definitions/default.yml | 1 + feature-group-definitions/details-name.yml | 1 + feature-group-definitions/details.yml | 1 + feature-group-definitions/device-posture.yml | 1 + feature-group-definitions/dialog.yml | 1 + 29 files changed, 29 insertions(+) diff --git a/feature-group-definitions/aborting.yml b/feature-group-definitions/aborting.yml index f59f5a27843..2c289a6c6d7 100644 --- a/feature-group-definitions/aborting.yml +++ b/feature-group-definitions/aborting.yml @@ -1,4 +1,5 @@ name: AbortController and AbortSignal +description: AbortController and AbortSignal are used by certain Web APIs as a mechanism to allow aborting asynchronous operations, such as fetch requests. spec: https://dom.spec.whatwg.org/#aborting-ongoing-activities caniuse: abortcontroller compat_features: diff --git a/feature-group-definitions/array-group.yml b/feature-group-definitions/array-group.yml index 36bc0c1ad21..0644ee0a67f 100644 --- a/feature-group-definitions/array-group.yml +++ b/feature-group-definitions/array-group.yml @@ -1,4 +1,5 @@ name: Array grouping +description: The `Object.groupBy()` and `Map.groupBy()` static methods group elements of iterables based on a function that returns a key for each element of the iterable. spec: https://tc39.es/proposal-array-grouping/ group: maps status: diff --git a/feature-group-definitions/async-await.yml b/feature-group-definitions/async-await.yml index 404a4758aec..1dbc656501a 100644 --- a/feature-group-definitions/async-await.yml +++ b/feature-group-definitions/async-await.yml @@ -1,4 +1,5 @@ name: Async functions +description: The `async` and `await` keywords enable the asynchronous, promise-based behavior of a function to be written without using promise chains. spec: https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#sec-async-function-definitions caniuse: async-functions snapshot: ecmascript-2017 diff --git a/feature-group-definitions/async-clipboard.yml b/feature-group-definitions/async-clipboard.yml index d1587366f55..ead06d09ef1 100644 --- a/feature-group-definitions/async-clipboard.yml +++ b/feature-group-definitions/async-clipboard.yml @@ -1,4 +1,5 @@ name: Async clipboard +description: The Clipboard API provides asynchronous read and write access to the content of the system clipboard, by requesting permission from the user. spec: https://w3c.github.io/clipboard-apis/#async-clipboard-api caniuse: async-clipboard status: diff --git a/feature-group-definitions/avif.yml b/feature-group-definitions/avif.yml index 9a3b7774c18..c6de48c6ca5 100644 --- a/feature-group-definitions/avif.yml +++ b/feature-group-definitions/avif.yml @@ -1,4 +1,5 @@ name: AVIF +description: The AV1 Image File Format (AVIF) is an image format specification for storing images or image sequences compressed with AV1. spec: https://aomediacodec.github.io/av1-avif/ caniuse: avif usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3798 diff --git a/feature-group-definitions/backdrop-filter.yml b/feature-group-definitions/backdrop-filter.yml index ca568686db8..8773600ed9c 100644 --- a/feature-group-definitions/backdrop-filter.yml +++ b/feature-group-definitions/backdrop-filter.yml @@ -1,4 +1,5 @@ name: backdrop-filter +description: The `backdrop-filter` CSS property applies graphical effects such as blurring or color shifting to the area behind an element. spec: https://drafts.fxtf.org/filter-effects-2/#BackdropFilterProperty caniuse: css-backdrop-filter compat_features: diff --git a/feature-group-definitions/background-fetch.yml b/feature-group-definitions/background-fetch.yml index f9ee36b78aa..03854b71473 100644 --- a/feature-group-definitions/background-fetch.yml +++ b/feature-group-definitions/background-fetch.yml @@ -1,4 +1,5 @@ name: Background fetch +description: The Background Fetch API allows service workers to delegate downloading large amounts of data to the system, even when the web page is closed. spec: https://wicg.github.io/background-fetch/ status: baseline: false diff --git a/feature-group-definitions/background-gradients.yml b/feature-group-definitions/background-gradients.yml index 3b20cb38ab6..255b7f4131f 100644 --- a/feature-group-definitions/background-gradients.yml +++ b/feature-group-definitions/background-gradients.yml @@ -1,4 +1,5 @@ name: Background gradients +description: The CSS gradient functions create background images consisting of progressive transitions between two or more colors. spec: https://drafts.csswg.org/css-images-4/#gradients caniuse: - css-gradients diff --git a/feature-group-definitions/bigint.yml b/feature-group-definitions/bigint.yml index 9d6f0ed0c35..4be67138303 100644 --- a/feature-group-definitions/bigint.yml +++ b/feature-group-definitions/bigint.yml @@ -1,4 +1,5 @@ name: BigInt +description: BigInt is a built-in JavaScript type that represents numeric values which are too large to be represented by the Number type. spec: https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-bigint-objects caniuse: bigint snapshot: ecmascript-2020 diff --git a/feature-group-definitions/border-image.yml b/feature-group-definitions/border-image.yml index d2cdcf83a67..76d2900f5f7 100644 --- a/feature-group-definitions/border-image.yml +++ b/feature-group-definitions/border-image.yml @@ -1,4 +1,5 @@ name: Border images +description: The `border-image` CSS property draws an image around an element's border. spec: https://drafts.csswg.org/css-backgrounds-3/#border-images caniuse: border-image usage_stats: https://chromestatus.com/metrics/css/timeline/popularity/43 diff --git a/feature-group-definitions/broadcast-channel.yml b/feature-group-definitions/broadcast-channel.yml index eb3111f5372..444463b14e2 100644 --- a/feature-group-definitions/broadcast-channel.yml +++ b/feature-group-definitions/broadcast-channel.yml @@ -1,4 +1,5 @@ name: BroadcastChannel +description: The BroadcastChannel API allows communication between different browser contexts, such as tabs, windows, or iframes, and workers on the same origin. spec: https://html.spec.whatwg.org/multipage/web-messaging.html#broadcasting-to-other-browsing-contexts caniuse: broadcastchannel usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/1447 diff --git a/feature-group-definitions/canvas-context-lost.yml b/feature-group-definitions/canvas-context-lost.yml index b75d5cbcf6f..96ad625179c 100644 --- a/feature-group-definitions/canvas-context-lost.yml +++ b/feature-group-definitions/canvas-context-lost.yml @@ -1,4 +1,5 @@ name: contextlost and contextrestored +description: The `contextlost` and `contextrestored` events are fired on a canvas element when the rendering context is lost or restored, such as when a graphics device crashes or runs out of memory. spec: https://html.spec.whatwg.org/multipage/webappapis.html#context-lost-steps usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3974 status: diff --git a/feature-group-definitions/cascade-layers.yml b/feature-group-definitions/cascade-layers.yml index 397e9b035fc..55c67519aa0 100644 --- a/feature-group-definitions/cascade-layers.yml +++ b/feature-group-definitions/cascade-layers.yml @@ -1,4 +1,5 @@ name: Cascade layers +description: CSS Cascade Layers solve CSS rule specificity conflicts by providing priority levels for different groups of CSS rules, such as low-priority styles like resets, and high-priority styles like UI components. spec: https://drafts.csswg.org/css-cascade-5/#layering caniuse: css-cascade-layers usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/4007 diff --git a/feature-group-definitions/check-visibility.yml b/feature-group-definitions/check-visibility.yml index 6c8620a105d..2ed4140de5e 100644 --- a/feature-group-definitions/check-visibility.yml +++ b/feature-group-definitions/check-visibility.yml @@ -1,4 +1,5 @@ name: checkVisibility() +description: The `Element.checkVisibility()` method checks if an element is visible. spec: https://drafts.csswg.org/cssom-view-1/#dom-element-checkvisibility compat_features: - api.Element.checkVisibility diff --git a/feature-group-definitions/class-syntax.yml b/feature-group-definitions/class-syntax.yml index 020f12ec3d5..73352b9e00d 100644 --- a/feature-group-definitions/class-syntax.yml +++ b/feature-group-definitions/class-syntax.yml @@ -1,4 +1,5 @@ name: Classes +description: The `class` JavaScript keyword defines a new class, which is a type of function that can be instantiated multiple times by using the `new` keyword. caniuse: es6-class spec: https://tc39.es/ecma262/multipage/ecmascript-language-functions-and-classes.html#sec-class-definitions snapshot: ecmascript-2015 diff --git a/feature-group-definitions/colrv1.yml b/feature-group-definitions/colrv1.yml index 1374c68df41..160b316d6eb 100644 --- a/feature-group-definitions/colrv1.yml +++ b/feature-group-definitions/colrv1.yml @@ -1,4 +1,5 @@ name: COLRv1 +description: The COLRv1 font format is used by color fonts to support multi-color glyphs. spec: https://www.iso.org/standard/87621.html caniuse: colr-v1 compat_features: diff --git a/feature-group-definitions/compression-streams.yml b/feature-group-definitions/compression-streams.yml index 88fb77c7f86..151f050ca5e 100644 --- a/feature-group-definitions/compression-streams.yml +++ b/feature-group-definitions/compression-streams.yml @@ -1,4 +1,5 @@ name: Compression streams +description: The JavaScript Compression Streams API compresses and decompresses streams of data using the gzip or deflate formats. spec: https://wicg.github.io/compression/ usage_stats: - https://chromestatus.com/metrics/feature/timeline/popularity/3060 # CompressionStream diff --git a/feature-group-definitions/constraint-validation.yml b/feature-group-definitions/constraint-validation.yml index 137e8aa2082..2619ea80b25 100644 --- a/feature-group-definitions/constraint-validation.yml +++ b/feature-group-definitions/constraint-validation.yml @@ -1,4 +1,5 @@ name: Constraint validation API +description: The Constraint Validation API provides a programmatic way to validate form controls. spec: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#the-constraint-validation-api caniuse: constraint-validation status: diff --git a/feature-group-definitions/contain-intrinsic-size.yml b/feature-group-definitions/contain-intrinsic-size.yml index fbf5aa10977..2e49d5a8e5d 100644 --- a/feature-group-definitions/contain-intrinsic-size.yml +++ b/feature-group-definitions/contain-intrinsic-size.yml @@ -1,4 +1,5 @@ name: contain-intrinsic-size +description: The `contain-intrinsic-size` CSS property sets the size of an element that the browser will use for layout calculations when the element is subject to size containment, within a CSS query container. spec: https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override # Shown as "intrinsic-size" on chromestatus.com, but 651 is contain-intrinsic-size. usage_stats: https://chromestatus.com/metrics/css/timeline/popularity/651 diff --git a/feature-group-definitions/container-queries.yml b/feature-group-definitions/container-queries.yml index 28cb8d62647..7ed49f56751 100644 --- a/feature-group-definitions/container-queries.yml +++ b/feature-group-definitions/container-queries.yml @@ -1,4 +1,5 @@ name: Container queries +description: CSS container queries apply styles to an element based on the size of its container. spec: https://drafts.csswg.org/css-contain-3/#container-queries caniuse: css-container-queries usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/4165 diff --git a/feature-group-definitions/container-style-queries.yml b/feature-group-definitions/container-style-queries.yml index 4bf52c25f09..752336c03a2 100644 --- a/feature-group-definitions/container-style-queries.yml +++ b/feature-group-definitions/container-style-queries.yml @@ -1,4 +1,5 @@ name: Container style queries +description: CSS style container queries apply styles to an element based on the computed styles of its container. spec: https://drafts.csswg.org/css-contain-3/#style-container caniuse: css-container-queries-style usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/4550 diff --git a/feature-group-definitions/content-visibility.yml b/feature-group-definitions/content-visibility.yml index d68fcc2a394..ae2f3d9fcfc 100644 --- a/feature-group-definitions/content-visibility.yml +++ b/feature-group-definitions/content-visibility.yml @@ -1,4 +1,5 @@ name: content-visibility +description: The `content-visibility` CSS property controls whether the browser should skip an element's rendering, including layout and painting, until it is needed. spec: https://drafts.csswg.org/css-contain-2/#content-visibility caniuse: css-content-visibility status: diff --git a/feature-group-definitions/custom-elements.yml b/feature-group-definitions/custom-elements.yml index 168d55733c1..946ceaee33b 100644 --- a/feature-group-definitions/custom-elements.yml +++ b/feature-group-definitions/custom-elements.yml @@ -1,4 +1,5 @@ name: Custom elements +description: Custom elements are HTML elements whose behavior is defined by the web developer. spec: https://html.spec.whatwg.org/multipage/custom-elements.html caniuse: custom-elementsv1 status: diff --git a/feature-group-definitions/custom-properties.yml b/feature-group-definitions/custom-properties.yml index 7e5784107dc..ed8e8cbd5e6 100644 --- a/feature-group-definitions/custom-properties.yml +++ b/feature-group-definitions/custom-properties.yml @@ -1,4 +1,5 @@ name: Custom properties +description: Custom properties (also known as CSS variables) are CSS properties prefixed with `--`, and whose values can be reused throughout CSS rules by using the `var()` function. spec: https://drafts.csswg.org/css-variables-1/ caniuse: css-variables status: diff --git a/feature-group-definitions/default.yml b/feature-group-definitions/default.yml index 97c34eba409..4fe67701d45 100644 --- a/feature-group-definitions/default.yml +++ b/feature-group-definitions/default.yml @@ -1,4 +1,5 @@ name: ":default" +description: The `:default` CSS pseudo-class selects form elements that are the default in a group of related elements, such as radio input elements which are initially checked, or option elements which are initially checked. spec: https://drafts.csswg.org/selectors-4/#the-default-pseudo caniuse: css-default-pseudo status: diff --git a/feature-group-definitions/details-name.yml b/feature-group-definitions/details-name.yml index 4a412097dca..572785817fd 100644 --- a/feature-group-definitions/details-name.yml +++ b/feature-group-definitions/details-name.yml @@ -1,4 +1,5 @@ name: Mutually exclusive
elements +description: Multiple `
` elements which use the same `name` attribute are mutually exclusive. When one member of the group is opened, all other members are closed. spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#attr-details-name compat_features: - api.HTMLDetailsElement.name diff --git a/feature-group-definitions/details.yml b/feature-group-definitions/details.yml index 610b78fc640..6b3bf958ac6 100644 --- a/feature-group-definitions/details.yml +++ b/feature-group-definitions/details.yml @@ -1,4 +1,5 @@ name:
+description: The `
` element creates a disclosure widget which content is visible only when the widget is toggled open, such as when using a nested `` element. spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-details-element compat_features: - api.HTMLDetailsElement diff --git a/feature-group-definitions/device-posture.yml b/feature-group-definitions/device-posture.yml index e8062874dc0..a12a23eebe4 100644 --- a/feature-group-definitions/device-posture.yml +++ b/feature-group-definitions/device-posture.yml @@ -1,4 +1,5 @@ name: Device posture +desscription: The Device Posture API provides information about the physical posture of a device, such as whether a foldable device is folded or unfolded. spec: https://w3c.github.io/device-posture/ status: baseline: false diff --git a/feature-group-definitions/dialog.yml b/feature-group-definitions/dialog.yml index d40d3d42d05..af7ccbf4550 100644 --- a/feature-group-definitions/dialog.yml +++ b/feature-group-definitions/dialog.yml @@ -1,4 +1,5 @@ name: "" +description: The `` HTML element represents a modal or non-modal dialog box. spec: https://html.spec.whatwg.org/multipage/interactive-elements.html#the-dialog-element caniuse: dialog usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/481 From 0a6be19d5f8945ad5a60eca3f3eb0922576d457e Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 27 Mar 2024 11:11:37 +0100 Subject: [PATCH 03/13] Fixed schema --- schemas/defs.schema.json | 13 ++++++------- types.ts | 2 ++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/schemas/defs.schema.json b/schemas/defs.schema.json index 4dabe3b80c1..00717294136 100644 --- a/schemas/defs.schema.json +++ b/schemas/defs.schema.json @@ -44,15 +44,14 @@ }, "type": "array" }, + "description": { + "description": "Short description", + "type": "string" + }, "name": { "description": "Short name", "type": "string" }, - "description": { - "description": "Short description of the feature", - "type": "string", - "maxLength": 300 - }, "spec": { "anyOf": [ { @@ -153,8 +152,8 @@ }, "required": [ "name", - "spec", - "description" + "description", + "spec" ], "type": "object" } diff --git a/types.ts b/types.ts index 143859c1abd..52c231d2fc2 100644 --- a/types.ts +++ b/types.ts @@ -3,6 +3,8 @@ export interface FeatureData { /** Short name */ name: string; + /** Short description */ + description: string; /** Alias identifier */ alias?: string | [string, string, ...string[]]; /** Specification */ From 58b2980d2710a6f1b26e77ab6e8bab3c96affe87 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 27 Mar 2024 11:28:34 +0100 Subject: [PATCH 04/13] Second batch of descriptions --- feature-group-definitions/device-posture.yml | 2 +- feature-group-definitions/view-transitions.yml | 1 + feature-group-definitions/viewport-relative-unit-variants.yml | 1 + feature-group-definitions/viewport-relative-units.yml | 1 + feature-group-definitions/visual-viewport.yml | 1 + feature-group-definitions/web-animations.yml | 1 + feature-group-definitions/webcodecs.yml | 1 + feature-group-definitions/webdriver-bidi.yml | 1 + feature-group-definitions/webhid.yml | 1 + feature-group-definitions/webp.yml | 1 + feature-group-definitions/webtransport.yml | 1 + feature-group-definitions/webusb.yml | 1 + feature-group-definitions/where.yml | 1 + 13 files changed, 13 insertions(+), 1 deletion(-) diff --git a/feature-group-definitions/device-posture.yml b/feature-group-definitions/device-posture.yml index a12a23eebe4..113b45ca8fa 100644 --- a/feature-group-definitions/device-posture.yml +++ b/feature-group-definitions/device-posture.yml @@ -1,5 +1,5 @@ name: Device posture -desscription: The Device Posture API provides information about the physical posture of a device, such as whether a foldable device is folded or unfolded. +description: The Device Posture API provides information about the physical posture of a device, such as whether a foldable device is folded or unfolded. spec: https://w3c.github.io/device-posture/ status: baseline: false diff --git a/feature-group-definitions/view-transitions.yml b/feature-group-definitions/view-transitions.yml index 0009ad3cda8..9c77f4dac4b 100644 --- a/feature-group-definitions/view-transitions.yml +++ b/feature-group-definitions/view-transitions.yml @@ -1,4 +1,5 @@ name: View transitions +description: The View Transitions API transitions between different states of a document, or between different documents. spec: https://drafts.csswg.org/css-view-transitions-1/ caniuse: view-transitions usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/4383 diff --git a/feature-group-definitions/viewport-relative-unit-variants.yml b/feature-group-definitions/viewport-relative-unit-variants.yml index c53a80b8c56..4f07047d64b 100644 --- a/feature-group-definitions/viewport-relative-unit-variants.yml +++ b/feature-group-definitions/viewport-relative-unit-variants.yml @@ -1,4 +1,5 @@ name: sv*, lv*, and dv* viewport units +description: CSS small, large, and dynamic viewport units are relative to the size of the viewport, and are used to size elements in relation to the viewport's dimensions. spec: - https://drafts.csswg.org/css-values-4/#viewport-variants - https://drafts.csswg.org/css-values-4/#viewport-relative-lengths diff --git a/feature-group-definitions/viewport-relative-units.yml b/feature-group-definitions/viewport-relative-units.yml index a7d32b59f4c..2e8e033adc8 100644 --- a/feature-group-definitions/viewport-relative-units.yml +++ b/feature-group-definitions/viewport-relative-units.yml @@ -1,4 +1,5 @@ name: vw, vh, vmin, and vmax viewport units +description: CSS viewport units are relative to the size of the viewport, and are used to size elements in relation to the viewport's dimensions. spec: https://drafts.csswg.org/css-values-4/#viewport-relative-lengths caniuse: viewport-units status: diff --git a/feature-group-definitions/visual-viewport.yml b/feature-group-definitions/visual-viewport.yml index 7a187dd8616..333527afd1d 100644 --- a/feature-group-definitions/visual-viewport.yml +++ b/feature-group-definitions/visual-viewport.yml @@ -1,4 +1,5 @@ name: Visual viewport API +description: The Visual Viewport API provides a way to query and modify the visual viewport of a web page. spec: https://drafts.csswg.org/cssom-view-1/#visualViewport compat_features: - api.VisualViewport diff --git a/feature-group-definitions/web-animations.yml b/feature-group-definitions/web-animations.yml index a74e96f626d..9ac17043b76 100644 --- a/feature-group-definitions/web-animations.yml +++ b/feature-group-definitions/web-animations.yml @@ -1,4 +1,5 @@ name: Web animations +description: The Web Animations API allows to animate, and synchronize the animations of DOM elements. spec: https://drafts.csswg.org/web-animations-1/ caniuse: web-animation status: diff --git a/feature-group-definitions/webcodecs.yml b/feature-group-definitions/webcodecs.yml index c75f053b002..3ffaed5dbfa 100644 --- a/feature-group-definitions/webcodecs.yml +++ b/feature-group-definitions/webcodecs.yml @@ -1,4 +1,5 @@ name: WebCodecs +description: The WebCodecs API provides low-level access to individual video frames and chunks of audio samples, for full control over the way media is processed. spec: https://w3c.github.io/webcodecs/ caniuse: webcodecs usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3464 diff --git a/feature-group-definitions/webdriver-bidi.yml b/feature-group-definitions/webdriver-bidi.yml index 19599ca14a9..658331b0a68 100644 --- a/feature-group-definitions/webdriver-bidi.yml +++ b/feature-group-definitions/webdriver-bidi.yml @@ -1,4 +1,5 @@ name: WebDriver BiDi +description: WebDriver BiDi is a bidirectional protocol that allows a WebDriver client and a browser to communicate with each other. spec: https://w3c.github.io/webdriver-bidi/ # WebDriver BiDi is not in BCD, see https://github.com/mdn/browser-compat-data/issues/20207 # The browser releases listed here are from: diff --git a/feature-group-definitions/webhid.yml b/feature-group-definitions/webhid.yml index 8953694a47d..4cf50a478ed 100644 --- a/feature-group-definitions/webhid.yml +++ b/feature-group-definitions/webhid.yml @@ -1,4 +1,5 @@ name: WebHID +description: The WebHID API provides access to Human Interface Devices (HID) that are connected to the user's device. spec: https://wicg.github.io/webhid/ caniuse: webhid usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/2865 diff --git a/feature-group-definitions/webp.yml b/feature-group-definitions/webp.yml index 0397e57543b..78019093b8e 100644 --- a/feature-group-definitions/webp.yml +++ b/feature-group-definitions/webp.yml @@ -1,4 +1,5 @@ name: WebP +description: The WebP image format is a raster graphics file format that supports animation, alpha transparency, and lossy and lossless compression. spec: https://www.ietf.org/archive/id/draft-zern-webp-13.html caniuse: webp usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3797 diff --git a/feature-group-definitions/webtransport.yml b/feature-group-definitions/webtransport.yml index 0047529ab2b..c85f34cdb4e 100644 --- a/feature-group-definitions/webtransport.yml +++ b/feature-group-definitions/webtransport.yml @@ -1,4 +1,5 @@ name: WebTransport +description: The WebTransport API transmits data between a client and a server, by using the HTTP/3 protocol. spec: https://w3c.github.io/webtransport/ caniuse: webtransport usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3472 diff --git a/feature-group-definitions/webusb.yml b/feature-group-definitions/webusb.yml index d9bb3b261c9..776f3ff0b0e 100644 --- a/feature-group-definitions/webusb.yml +++ b/feature-group-definitions/webusb.yml @@ -1,4 +1,5 @@ name: WebUSB +description: The WebUSB API exposes USB compatible devices to web pages. spec: https://wicg.github.io/webusb/ caniuse: webusb usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/1519 diff --git a/feature-group-definitions/where.yml b/feature-group-definitions/where.yml index 2fb947ad3cc..30f1063f9ca 100644 --- a/feature-group-definitions/where.yml +++ b/feature-group-definitions/where.yml @@ -1,4 +1,5 @@ name: ":where()" +description: The `:where()` CSS pseudo-class function takes a selector list as its argument, and selects any element that can be selected by one of the selectors in that list. It is functionally equivalent to the selectors in the list, but doesn't affect the CSS rule specificity. spec: https://drafts.csswg.org/selectors-4/#zero-matches usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/2431 status: From 893107a84c29d302fab768ca8f13b9834dd8aa97 Mon Sep 17 00:00:00 2001 From: Patrick Brosset Date: Wed, 27 Mar 2024 11:46:52 +0100 Subject: [PATCH 05/13] Description batch 3 --- feature-group-definitions/tabindex.yml | 1 + feature-group-definitions/template.yml | 1 + feature-group-definitions/temporal.yml | 1 + feature-group-definitions/text-box-trim.yml | 1 + feature-group-definitions/text-indent.yml | 1 + feature-group-definitions/text-wrap-balance.yml | 1 + feature-group-definitions/text-wrap-pretty.yml | 1 + feature-group-definitions/transition-behavior.yml | 1 + feature-group-definitions/trusted-types.yml | 1 + feature-group-definitions/user-pseudos.yml | 1 + 10 files changed, 10 insertions(+) diff --git a/feature-group-definitions/tabindex.yml b/feature-group-definitions/tabindex.yml index 7cec19eb251..7fe2d0f3343 100644 --- a/feature-group-definitions/tabindex.yml +++ b/feature-group-definitions/tabindex.yml @@ -1,4 +1,5 @@ name: tabindex +description: The `tabindex` HTML attribute makes elements focusable, and defines the elements' relative ordering for sequential focus navigation. spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex caniuse: tabindex-attr status: diff --git a/feature-group-definitions/template.yml b/feature-group-definitions/template.yml index 15b39915961..50e954298cc 100644 --- a/feature-group-definitions/template.yml +++ b/feature-group-definitions/template.yml @@ -1,4 +1,5 @@ name: