From e6f9575bec3a75eb70038474a7a4c35bd1bd7cf6 Mon Sep 17 00:00:00 2001 From: "Queen Vinyl Da.i'gyu-Kazotetsu" Date: Fri, 20 Sep 2024 05:32:41 -0700 Subject: [PATCH 1/2] Remove `compat_features` from features already migrated to BCD tags --- features/a.yml | 28 --- features/abbr.yml | 2 - features/aborting.yml | 13 -- features/accelerometer.yml | 10 - features/address.yml | 2 - features/alt-text-generated-content.yml | 2 - features/article.yml | 2 - features/aside.yml | 2 - features/async-clipboard.yml | 18 -- features/async-iterable-streams.yml | 2 - features/atomics-wait-async.yml | 2 - features/audio-worklet.yml | 16 -- features/audio.yml | 11 - features/b.yml | 2 - features/background-sync.yml | 10 - features/base.yml | 9 - features/bdi.yml | 2 - features/bdo.yml | 2 - features/blockquote.yml | 3 - features/body.yml | 3 - features/br.yml | 3 - features/button.yml | 24 --- features/canvas-2d-alpha.yml | 2 - features/canvas-2d-color-managment.yml | 2 - features/canvas-2d-desynchronized.yml | 2 - features/canvas-2d-willreadfrequently.yml | 2 - features/canvas-2d.yml | 77 ------- features/canvas.yml | 10 - features/caret-color.yml | 2 - features/cite.yml | 2 - features/clipboard-events.yml | 7 - features/clipboard-unsanitized-formats.yml | 2 - features/code.yml | 2 - features/constructed-stylesheets.yml | 9 - features/constructed-stylesheets.yml.dist | 8 +- features/contact-picker.yml | 17 -- features/contain-inline-size.yml | 2 - features/contain-layout.yml | 2 - features/contain-paint.yml | 2 - features/contain-size.yml | 3 - features/contain-style.yml | 2 - features/container-queries.yml | 13 -- features/counter-style.yml | 24 --- features/credential-management.yml | 10 - features/currentcolor.yml | 2 - features/data.yml | 5 - features/date.yml | 49 ----- features/del.yml | 7 - features/dfn.yml | 2 - features/div.yml | 3 - features/em.yml | 2 - features/embed.yml | 12 -- features/fedcm.yml | 4 - features/federated-credentials.yml | 7 - features/fetch.yml | 37 ---- features/fieldset.yml | 15 -- features/figure.yml | 3 - features/file-system-access.yml | 8 - features/font-display.yml | 2 - features/font-face.yml | 9 - features/font-feature-settings.yml | 4 - features/font-kerning.yml | 2 - features/font-language-override.yml | 2 - features/font-optical-sizing.yml | 4 - features/font-palette.yml | 14 -- features/font-size-adjust.yml | 6 - features/font-variant-alternates.yml | 26 --- features/font-variant-caps.yml | 9 - features/font-variant-east-asian.yml | 12 -- features/font-variant-emoji.yml | 2 - features/font-variant-ligatures.yml | 12 -- features/font-variant-numeric.yml | 11 - features/font-variant-position.yml | 5 - features/font-variant.yml | 10 - features/font-variation-settings.yml | 3 - features/forced-colors.yml | 6 - features/form.yml | 31 --- features/geolocation.yml | 28 --- features/gravity-sensor.yml | 3 - features/gyroscope.yml | 9 - features/head.yml | 3 - features/header-footer.yml | 3 - features/headings.yml | 8 - features/hgroup.yml | 2 - features/hr.yml | 3 - features/hsl.yml | 5 - features/html.yml | 3 - features/hwb.yml | 3 - features/i.yml | 2 - features/iframe-credentialless.yml | 4 - features/iframe-srcdoc.yml | 3 - features/iframe.yml | 16 -- features/image-maps.yml | 39 ---- features/img.yml | 20 -- features/import.yml | 6 - features/initial-letter.yml | 3 - features/ins.yml | 14 +- features/intl-display-names.yml | 6 - features/intl-duration-format.yml | 7 - features/intl-list-format.yml | 7 - features/intl-locale-info.yml | 7 - features/intl-locale.yml | 16 -- features/intl-plural-rules.yml | 12 -- features/intl-relative-time-format.yml | 11 - features/intl-segmenter.yml | 9 - features/intl.yml | 103 +-------- features/json-modules.yml | 8 +- features/kbd.yml | 2 - features/keyboard-lock.yml | 5 - features/keyboard-map.yml | 3 - features/label.yml | 7 - features/link.yml | 24 --- features/list-elements.yml | 15 -- features/main.yml | 2 - features/mark.yml | 2 - features/menu.yml | 15 +- features/meta.yml | 15 -- features/mouse-events.yml | 35 --- features/named-color.yml | 4 - features/nav.yml | 2 - features/navigation.yml | 51 ----- features/number.yml | 74 ------- features/object-view-box.yml | 2 - features/object.yml | 18 -- features/offline-audio-context.yml | 11 - features/orientation-sensor.yml | 8 - features/output.yml | 14 -- features/p.yml | 3 - features/password-credentials.yml | 6 - features/picture.yml | 3 - features/pre.yml | 3 - features/presentation-api.yml | 34 --- features/profiler.yml | 6 - features/progress.yml | 9 - features/promise-any.yml | 5 - features/promise-try.yml | 2 - features/proxy-reflect.yml | 31 --- features/q.yml | 5 - features/referrer-policy.yml | 15 -- features/regexp.yml | 53 ----- features/resizable-buffers.yml | 9 - features/resize.yml | 5 - features/rgb.yml | 8 - features/ruby.yml | 4 - features/s.yml | 2 - features/samp.yml | 2 - features/script.yml | 18 -- features/section.yml | 2 - features/select.yml | 50 ----- features/shared-memory.yml | 20 -- features/small.yml | 2 - features/source.yml | 11 - features/span.yml | 3 - features/state.yml | 14 -- features/string-at.yml | 2 - features/string-codepoint.yml | 3 - features/string-includes.yml | 2 - features/string-matchall.yml | 2 - features/string-normalize.yml | 2 - features/string-pad.yml | 3 - features/string-raw.yml | 2 - features/string-repeat.yml | 2 - features/string-replaceall.yml | 2 - features/string-startsends-with.yml | 3 - features/string-trim-startend.yml | 3 - features/string-wellformed.yml | 3 - features/strings.yml | 24 --- features/strong.yml | 2 - features/style.yml | 6 - features/sub-sup.yml | 3 - features/supports.yml | 11 +- features/system-color.yml | 4 - features/tab-size.yml | 3 - features/table.yml | 62 ------ features/text-tracks.yml | 48 ----- features/textarea.yml | 42 ---- features/time.yml | 5 - features/title.yml | 4 - features/u.yml | 2 - features/urlpattern.yml | 15 -- features/user-select.yml | 6 - features/var.yml | 2 - features/video.yml | 70 ------ features/wbr.yml | 2 - features/weak-references.yml | 8 - features/weakmap.yml | 10 - features/weakset.yml | 9 - features/web-audio.yml | 184 ---------------- features/web-cryptography.yml | 38 ---- features/web-otp.yml | 5 - features/webdriver.yml | 57 ----- features/webgl-color-management.yml | 3 - features/webgl-desynchronized.yml | 2 - features/webgl.yml | 189 ---------------- features/webgl2-color-management.yml | 3 - features/webgl2-desynchronized.yml | 2 - features/webgl2.yml | 239 --------------------- features/websockets.yml | 25 --- features/webvtt.yml | 14 -- features/white-space-collapse.yml | 6 - features/white-space.yml | 12 -- features/writingsuggestions.yml | 3 - features/xhr.yml | 49 ----- features/xml-serializer.yml | 4 - features/z-index.yml | 4 - features/zoom.yml | 2 - 206 files changed, 19 insertions(+), 2882 deletions(-) diff --git a/features/a.yml b/features/a.yml index 957281de6be..7602ceb3281 100644 --- a/features/a.yml +++ b/features/a.yml @@ -4,31 +4,3 @@ spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-ele group: html-elements status: compute_from: html.elements.a -compat_features: - - api.HTMLAnchorElement - - api.HTMLAnchorElement.hash - - api.HTMLAnchorElement.host - - api.HTMLAnchorElement.hostname - - api.HTMLAnchorElement.href - - api.HTMLAnchorElement.hreflang - - api.HTMLAnchorElement.origin - - api.HTMLAnchorElement.password - - api.HTMLAnchorElement.pathname - - api.HTMLAnchorElement.port - - api.HTMLAnchorElement.protocol - - api.HTMLAnchorElement.rel - - api.HTMLAnchorElement.relList - - api.HTMLAnchorElement.search - - api.HTMLAnchorElement.target - - api.HTMLAnchorElement.text - - api.HTMLAnchorElement.toString - - api.HTMLAnchorElement.type - - api.HTMLAnchorElement.username - - html.elements.a - - html.elements.a.href - - html.elements.a.hreflang - - html.elements.a.rel - - html.elements.a.rel.noopener - - html.elements.a.rel.noreferrer - - html.elements.a.target - - html.elements.a.type diff --git a/features/abbr.yml b/features/abbr.yml index 850d76df849..69bcf12aec1 100644 --- a/features/abbr.yml +++ b/features/abbr.yml @@ -2,5 +2,3 @@ name: description: The `` HTML element represents an abbreviation or acronym. spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-abbr-element group: html-elements -compat_features: - - html.elements.abbr diff --git a/features/aborting.yml b/features/aborting.yml index db91b7bc9d6..9db74a8dfab 100644 --- a/features/aborting.yml +++ b/features/aborting.yml @@ -4,16 +4,3 @@ spec: https://dom.spec.whatwg.org/#aborting-ongoing-activities caniuse: abortcontroller status: compute_from: api.AbortController -compat_features: - - api.AbortController - - api.AbortController.AbortController - - api.AbortController.abort - - api.AbortController.signal - - api.AbortSignal - - api.AbortSignal.abort_event - - api.AbortSignal.abort_static - - api.AbortSignal.abort_static.reason_parameter - - api.AbortSignal.aborted - - api.AbortSignal.reason - - api.AbortSignal.throwIfAborted - - api.AbortSignal.timeout_static diff --git a/features/accelerometer.yml b/features/accelerometer.yml index a28882a4906..749cb30fb36 100644 --- a/features/accelerometer.yml +++ b/features/accelerometer.yml @@ -4,13 +4,3 @@ spec: https://w3c.github.io/accelerometer/#accelerometer-interface group: sensors status: compute_from: api.Accelerometer.Accelerometer -compat_features: - - api.Accelerometer - - api.Accelerometer.Accelerometer - - api.Accelerometer.x - - api.Accelerometer.y - - api.Accelerometer.z - - api.LinearAccelerationSensor - - api.LinearAccelerationSensor.LinearAccelerationSensor - - api.Permissions.permission_accelerometer - - http.headers.Permissions-Policy.accelerometer diff --git a/features/address.yml b/features/address.yml index acf75e7d19f..0c62efa7033 100644 --- a/features/address.yml +++ b/features/address.yml @@ -2,5 +2,3 @@ name:
description: The `
` element represents contact information for a person or people, or for an organization. spec: https://html.spec.whatwg.org/multipage/sections.html#the-address-element group: html-elements -compat_features: - - html.elements.address diff --git a/features/alt-text-generated-content.yml b/features/alt-text-generated-content.yml index 974edf5aa89..9a97edacec1 100644 --- a/features/alt-text-generated-content.yml +++ b/features/alt-text-generated-content.yml @@ -2,5 +2,3 @@ name: Alt text for generated content description: "The `/` notation in `content` CSS property values adds alternative text to generated content. For example, the `content: url('upvote-icon.svg') / 'Upvote'` declaration adds accessible 'Upvote' text to the SVG icon. Also known as alternate text." spec: https://drafts.csswg.org/css-content-3/#alt group: css -compat_features: - - css.properties.content.alt_text diff --git a/features/article.yml b/features/article.yml index 5fac9bb3c4a..0696a5c3911 100644 --- a/features/article.yml +++ b/features/article.yml @@ -4,5 +4,3 @@ spec: https://html.spec.whatwg.org/multipage/sections.html#the-article-element group: html-elements # Note:
is part of https://caniuse.com/html5semantic but that feature # covers many unrelated elements and is therefore not linked here. -compat_features: - - html.elements.article diff --git a/features/aside.yml b/features/aside.yml index 3e0fb530377..91b54328564 100644 --- a/features/aside.yml +++ b/features/aside.yml @@ -4,5 +4,3 @@ spec: https://html.spec.whatwg.org/multipage/sections.html#the-aside-element group: html-elements # Note: