Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove alias from the schema and all features #1450

Merged
merged 1 commit into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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