From a85e10e7b644d1c44e5a8bea5f6997eeb193f6d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 31 Jul 2024 14:28:15 +0200 Subject: [PATCH 1/2] Replace "defines" with "sets" https://github.com/web-platform-dx/web-features/blob/main/docs/README.md#defines --- features/color-function.yml | 2 +- features/counter-style.yml | 2 +- features/datalist.yml | 2 +- features/starting-style.yml | 2 +- features/tabindex.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/features/color-function.yml b/features/color-function.yml index d7da9205162..562f93b942e 100644 --- a/features/color-function.yml +++ b/features/color-function.yml @@ -1,4 +1,4 @@ name: color() -description: "The `color()` function defines a color within a given color space. Wide gamut color spaces like `display-p3` allow showing more vibrant and saturated colors than the standard `srgb` color space." +description: "The `color()` function sets a color within a given color space. Wide gamut color spaces like `display-p3` allow showing more vibrant and saturated colors than the standard `srgb` color space." spec: https://drafts.csswg.org/css-color-4/#color-function caniuse: css-color-function diff --git a/features/counter-style.yml b/features/counter-style.yml index 4831d39c118..d627ea7b7b4 100644 --- a/features/counter-style.yml +++ b/features/counter-style.yml @@ -1,5 +1,5 @@ name: "@counter-style" -description: The `@counter-style` CSS at-rule defines custom counter styles for list items. For example, you can use a sequence of specific symbols instead of numbers for an ordered list. +description: The `@counter-style` CSS at-rule sets custom counter styles for list items. For example, you can use a sequence of specific symbols instead of numbers for an ordered list. spec: https://drafts.csswg.org/css-counter-styles-3/ caniuse: css-at-counter-style status: diff --git a/features/datalist.yml b/features/datalist.yml index 2c9886c8668..dc65e8e6dc8 100644 --- a/features/datalist.yml +++ b/features/datalist.yml @@ -1,5 +1,5 @@ name: -description: The `` element defines a set of recommended values for an `` element. Browsers may show a dropdown menu of all options, or matching options as the user types. +description: The `` element sets a set of recommended values for an `` element. Browsers may show a dropdown menu of all options, or matching options as the user types. spec: https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element group: forms caniuse: datalist diff --git a/features/starting-style.yml b/features/starting-style.yml index 721bfd17950..351da79f2cb 100644 --- a/features/starting-style.yml +++ b/features/starting-style.yml @@ -1,3 +1,3 @@ name: "@starting-style" -description: The `@starting-style` CSS at-rule defines the starting values for properties that are transitioning when the target element's style is first updated. +description: The `@starting-style` CSS at-rule sets the starting values for properties that are transitioning when the target element's style is first updated. spec: https://drafts.csswg.org/css-transitions-2/#defining-before-change-style diff --git a/features/tabindex.yml b/features/tabindex.yml index caddd392d81..56df77666a2 100644 --- a/features/tabindex.yml +++ b/features/tabindex.yml @@ -1,5 +1,5 @@ name: tabindex -description: The `tabindex` HTML attribute make an element focusable, and defines the element's relative ordering for sequential focus navigation. +description: The `tabindex` HTML attribute make an element focusable, and sets the element's relative ordering for sequential focus navigation. spec: https://html.spec.whatwg.org/multipage/interaction.html#attr-tabindex group: html caniuse: tabindex-attr From a300e22cb21b9fe0f57d397c2a0d6a4bd64bc7fe Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Wed, 28 Aug 2024 14:00:44 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- features/color-function.yml | 2 +- features/datalist.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/color-function.yml b/features/color-function.yml index 562f93b942e..2ae68463189 100644 --- a/features/color-function.yml +++ b/features/color-function.yml @@ -1,4 +1,4 @@ name: color() -description: "The `color()` function sets a color within a given color space. Wide gamut color spaces like `display-p3` allow showing more vibrant and saturated colors than the standard `srgb` color space." +description: "The `color()` function picks a color from a given color space. Wide gamut color spaces like `display-p3` allow showing more vibrant and saturated colors than the standard `srgb` color space." spec: https://drafts.csswg.org/css-color-4/#color-function caniuse: css-color-function diff --git a/features/datalist.yml b/features/datalist.yml index dc65e8e6dc8..c985c639423 100644 --- a/features/datalist.yml +++ b/features/datalist.yml @@ -1,5 +1,5 @@ name: -description: The `` element sets a set of recommended values for an `` element. Browsers may show a dropdown menu of all options, or matching options as the user types. +description: The `` element sets recommended values for an `` element. Browsers may show a dropdown menu of all values or match values as the user types. spec: https://html.spec.whatwg.org/multipage/form-elements.html#the-datalist-element group: forms caniuse: datalist