Skip to content

Commit 3d8b4ff

Browse files
queengooborgddbeckElchi3
authored
Remove redundant compat_features keys from features with comments (#2345)
* Remove redundant compat_features keys from features with comments * Apply suggestions from code review Co-authored-by: Daniel D. Beck <[email protected]> --------- Co-authored-by: Daniel D. Beck <[email protected]> Co-authored-by: Florian Scholz <[email protected]>
1 parent fa28e44 commit 3d8b4ff

File tree

16 files changed

+18
-80
lines changed

16 files changed

+18
-80
lines changed

features/article.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ spec: https://html.spec.whatwg.org/multipage/sections.html#the-article-element
44
group: html-elements
55
# Note: <article> is part of https://caniuse.com/html5semantic but that feature
66
# covers many unrelated elements and is therefore not linked here.
7-
compat_features:
8-
- html.elements.article

features/aside.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ spec: https://html.spec.whatwg.org/multipage/sections.html#the-aside-element
44
group: html-elements
55
# Note: <aside> is part of https://caniuse.com/html5semantic but that feature
66
# covers many unrelated elements and is therefore not linked here.
7-
compat_features:
8-
- html.elements.aside

features/audio.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,5 @@ group:
77
caniuse: audio
88
status:
99
compute_from: html.elements.audio
10-
# TODO: Include relevant parts of HTMLMediaElement when possible:
10+
# TODO: Tag relevant parts of HTMLMediaElement when possible:
1111
# https://github.com/web-platform-dx/web-features/issues/1173
12-
compat_features:
13-
- api.HTMLAudioElement
14-
- api.HTMLAudioElement.Audio
15-
- html.elements.audio
16-
- html.elements.audio.autoplay
17-
- html.elements.audio.controls
18-
- html.elements.audio.crossorigin
19-
- html.elements.audio.loop
20-
- html.elements.audio.muted
21-
- html.elements.audio.preload
22-
- html.elements.audio.src

features/figure.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ spec:
66
group: html-elements
77
# Note: <figure> and <figcaption> are part of https://caniuse.com/html5semantic
88
# but that covers many unrelated elements and is therefore not linked here.
9-
compat_features:
10-
- html.elements.figcaption
11-
- html.elements.figure

features/font-variant-position.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,3 @@ group: font-features
88
# References:
99
# - https://issues.chromium.org/issues/352218916
1010
# - https://bugs.webkit.org/show_bug.cgi?id=151471
11-
compat_features:
12-
- css.properties.font-variant-position
13-
- css.properties.font-variant-position.normal
14-
- css.properties.font-variant-position.sub
15-
- css.properties.font-variant-position.super

features/header-footer.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,3 @@ spec:
66
group: html-elements
77
# Note: <header> and <footer> are part of https://caniuse.com/html5semantic but
88
# that feature covers many unrelated elements and is therefore not linked here.
9-
compat_features:
10-
- html.elements.footer
11-
- html.elements.header

features/hsl.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,4 @@ caniuse: css3-colors
55
group: color-types
66
status:
77
compute_from: css.types.color.hsl.alpha_parameter
8-
# TODO: For alignment with caniuse, add `hsla()` features when https://github.com/mdn/browser-compat-data/issues/24191 is resolved and update compute_from
9-
compat_features:
10-
- css.types.color.hsl
11-
- css.types.color.hsl.alpha_parameter
12-
- css.types.color.hsl.mixed_type_parameters
13-
- css.types.color.hsl.space_separated_parameters
8+
# TODO: For alignment with caniuse, tag `hsla()` features when https://github.com/mdn/browser-compat-data/issues/24191 is resolved and update compute_from

features/ins.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@ name: <ins>
22
description: The `<ins>` element element represents a range of text that has been inserted into a document, styling text as underlined by default.
33
spec: https://html.spec.whatwg.org/multipage/edits.html#the-ins-element
44
group: html-elements
5-
compat_features:
6-
# TODO - Removed until #1173 is resolved, these APIs are currently listed
7-
# in <del> to prevent the error.
8-
# - api.HTMLModElement
9-
# - api.HTMLModElement.cite
10-
# - api.HTMLModElement.dateTime
11-
- html.elements.ins
12-
- html.elements.ins.cite
13-
- html.elements.ins.datetime
5+
# TODO - Removed until #1173 is resolved, these APIs are currently listed
6+
# in <del> to prevent the error.
7+
# compat_features:
8+
# - api.HTMLModElement
9+
# - api.HTMLModElement.cite
10+
# - api.HTMLModElement.dateTime

features/json-modules.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@ name: JSON import attributes
22
description: 'Module `import … with { type: "json" }` statements load JSON data. Also known as JSON module scripts and formerly known as import assertions.'
33
spec: https://html.spec.whatwg.org/multipage/webappapis.html#json-module-script
44
group: json
5-
compat_features:
6-
# TODO: Include when https://github.com/web-platform-dx/web-features/issues/1173
7-
# is resolved.
8-
# - javascript.statements.import
9-
- javascript.statements.import.import_attributes.type_json
5+
# TODO: Tag javascript.statements.import when https://github.com/web-platform-dx/web-features/issues/1173 is resolved.

features/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ spec: https://html.spec.whatwg.org/multipage/grouping-content.html#the-main-elem
44
group: html-elements
55
# Note: <main> is part of https://caniuse.com/html5semantic but that feature
66
# covers many unrelated elements and is therefore not linked here.
7-
compat_features:
8-
- html.elements.main

0 commit comments

Comments
 (0)