Skip to content

Commit

Permalink
Remove alias from the schema and all features (#1450)
Browse files Browse the repository at this point in the history
This mechanism for renames hasn't been used by any consumers that we
know of.

A mechanism like this may not be needed at all, and if it is we may want
to design it a bit different to allow consumers to detect both deleted
and renamed identifiers.

Removing this now does not prevent us from reintroducing this as a "new"
feature if the need arises. If so, we may want to design it a bit
different to handle both deleted and renamed identifiers.
  • Loading branch information
foolip committed Jul 19, 2024
1 parent 11389cc commit 31d1702
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion features/draft/text-box-trim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ draft_date: 2024-04-30
name: text-box-trim
description: The `text-box-trim` CSS property removes the additional space above and below text which is normally reserved for ascenders and descenders.
spec: https://drafts.csswg.org/css-inline-3/#leading-trim
alias: leading-trim
1 change: 0 additions & 1 deletion features/font-face.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ description: The `@font-face` CSS at-rule creates a custom `font-family` value.
spec: https://drafts.csswg.org/css-fonts-5/
group: fonts
caniuse: fontface
alias: fonts
1 change: 0 additions & 1 deletion features/long-animation-frames.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
name: Long animation frame timing
alias: long-animation-frame-timing
spec: https://w3c.github.io/long-animation-frames/
1 change: 0 additions & 1 deletion features/promise.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Promise (initial support)
description: A promise represents an asynchronous operation which eventually succeeds or fails.
alias: promises
caniuse: promises
snapshot: ecmascript-2015
spec:
Expand Down
1 change: 0 additions & 1 deletion features/read-write-pseudos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ spec:
- https://html.spec.whatwg.org/multipage/semantics-other.html#selector-read-only
- https://drafts.csswg.org/selectors-4/#rw-pseudos
group: forms
alias: read-write-pseudo-classes
caniuse: css-read-only-write
1 change: 0 additions & 1 deletion features/scroll-into-view.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: scrollIntoView()
description: The `scrollIntoView()` method scrolls an element's ancestor containers such that the element is visible to the user.
spec: https://drafts.csswg.org/cssom-view-1/#dom-element-scrollintoview
alias: scrollintoview
caniuse: scrollintoview
group: scrolling
1 change: 0 additions & 1 deletion features/viewport-unit-variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ description: The `sv*`, `lv*`, and `dv*` CSS viewport units are relative to the
spec:
- https://drafts.csswg.org/css-values-4/#viewport-variants
- https://drafts.csswg.org/css-values-4/#viewport-relative-lengths
alias: viewport-relative-unit-variants
caniuse: viewport-unit-variants
1 change: 0 additions & 1 deletion features/viewport-units.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ name: Viewport units
description: The `vw`, `vh`, `vmin`, and `vmax` CSS viewport units are relative to the size of the viewport, and are used to size elements in relation to the viewport's dimensions.
# This feature excludes `vb` and `vi` because they were introduced later (see `viewport-relative-unit-variants`)
spec: https://drafts.csswg.org/css-values-4/#viewport-relative-lengths
alias: viewport-relative-units
caniuse: viewport-units
15 changes: 0 additions & 15 deletions schemas/defs.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,6 @@
"FeatureData": {
"additionalProperties": false,
"properties": {
"alias": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"type": "string"
},
"minItems": 2,
"type": "array"
}
],
"description": "Alias identifier"
},
"caniuse": {
"anyOf": [
{
Expand Down
2 changes: 0 additions & 2 deletions types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export interface FeatureData {
description: string;
/** Short description of the feature, as an HTML string */
description_html: string;
/** Alias identifier */
alias?: string | [string, string, ...string[]];
/** Specification */
spec: specification_url | [specification_url, specification_url, ...specification_url[]];
/** Group identifier */
Expand Down

0 comments on commit 31d1702

Please # to comment.