From 93cad7595b228c29c48519326388e6dff2ed3ca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 16 May 2024 11:42:57 +0200 Subject: [PATCH] Add .dist.yml for simple cases For these there are no warnings and no changes to the source. --- features/compute-pressure.dist.yml | 25 +++++++++ features/scroll-marker.dist.yml | 7 +++ features/selectlist.dist.yml | 8 +++ features/shadow-dom.dist.yml | 29 ++++++++++ features/speech-recognition.dist.yml | 13 +++++ features/text-box-trim.dist.yml | 10 ++++ features/web-animations.dist.yml | 74 +++++++++++++++++++++++++ features/web-bluetooth.dist.yml | 83 ++++++++++++++++++++++++++++ 8 files changed, 249 insertions(+) create mode 100644 features/compute-pressure.dist.yml create mode 100644 features/scroll-marker.dist.yml create mode 100644 features/selectlist.dist.yml create mode 100644 features/shadow-dom.dist.yml create mode 100644 features/speech-recognition.dist.yml create mode 100644 features/text-box-trim.dist.yml create mode 100644 features/web-animations.dist.yml create mode 100644 features/web-bluetooth.dist.yml diff --git a/features/compute-pressure.dist.yml b/features/compute-pressure.dist.yml new file mode 100644 index 00000000000..0b8aaf6bca6 --- /dev/null +++ b/features/compute-pressure.dist.yml @@ -0,0 +1,25 @@ +# Generated from: compute-pressure.yml +# Do not edit this file by hand. Edit the source file instead! + +name: CPU compute pressure +description: The `PressureObserver` API monitors CPU load, allowing you to adjust workloads in response to available computing resources. Also known as the Compute Pressure API. +spec: https://w3c.github.io/compute-pressure/ +usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/3899 +status: + baseline: false + support: {} +compat_features: + - api.Permissions.permission_compute-pressure + - api.PressureObserver + - api.PressureObserver.PressureObserver + - api.PressureObserver.disconnect + - api.PressureObserver.knownSources_static + - api.PressureObserver.observe + - api.PressureObserver.takeRecords + - api.PressureObserver.unobserve + - api.PressureRecord + - api.PressureRecord.source + - api.PressureRecord.state + - api.PressureRecord.time + - api.PressureRecord.toJSON + - http.headers.Permissions-Policy.compute-pressure diff --git a/features/scroll-marker.dist.yml b/features/scroll-marker.dist.yml new file mode 100644 index 00000000000..42b1004a3bf --- /dev/null +++ b/features/scroll-marker.dist.yml @@ -0,0 +1,7 @@ +# Generated from: scroll-marker.yml +# Do not edit this file by hand. Edit the source file instead! + +# https://github.com/flackr/carousel/tree/main/scroll-marker +draft: true +draft_date: 2024-04-30 +name: "::scroll-marker" diff --git a/features/selectlist.dist.yml b/features/selectlist.dist.yml new file mode 100644 index 00000000000..5070ef7ae82 --- /dev/null +++ b/features/selectlist.dist.yml @@ -0,0 +1,8 @@ +# Generated from: selectlist.yml +# Do not edit this file by hand. Edit the source file instead! + +draft: true +draft_date: 2024-05-06 +name: "" +caniuse: selectlist +spec: https://github.com/whatwg/html/issues/9799 diff --git a/features/shadow-dom.dist.yml b/features/shadow-dom.dist.yml new file mode 100644 index 00000000000..e509412dcb7 --- /dev/null +++ b/features/shadow-dom.dist.yml @@ -0,0 +1,29 @@ +# Generated from: shadow-dom.yml +# Do not edit this file by hand. Edit the source file instead! + +name: Shadow DOM +description: Shadow DOM allows you to attach encapsulated "shadow" DOM trees to elements. A shadow DOM tree is a separate component, isolated from the scripts and styles in other parts of the document. This is a part of Web Components. +spec: https://dom.spec.whatwg.org/#shadow-trees +caniuse: shadowdomv1 +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "54" + chrome_android: "54" + edge: "79" + firefox: "63" + firefox_android: "63" + safari: "10.1" + safari_ios: "10.3" +compat_features: + - api.Element.attachShadow + - api.Element.shadowRoot + - api.Event.composed + - api.Event.composedPath + - api.Node.getRootNode + - api.Node.isConnected + - api.ShadowRoot + - api.ShadowRoot.host + - api.ShadowRoot.mode diff --git a/features/speech-recognition.dist.yml b/features/speech-recognition.dist.yml new file mode 100644 index 00000000000..fcd724500e4 --- /dev/null +++ b/features/speech-recognition.dist.yml @@ -0,0 +1,13 @@ +# Generated from: speech-recognition.yml +# Do not edit this file by hand. Edit the source file instead! + +# Speech recognition is prefixed in all implementations and would appear as +# unsupported, so don't publish it. Revisit if it's unprefixed. +draft: true +draft_date: 2024-04-30 +name: Speech recognition +description: The `SpeechRecognition` API converts human speech from a microphone to text. +spec: https://wicg.github.io/speech-api/#speechreco-section +group: speech +caniuse: speech-recognition +usage_stats: https://chromestatus.com/metrics/feature/timeline/popularity/2014 diff --git a/features/text-box-trim.dist.yml b/features/text-box-trim.dist.yml new file mode 100644 index 00000000000..6fe0a307304 --- /dev/null +++ b/features/text-box-trim.dist.yml @@ -0,0 +1,10 @@ +# Generated from: text-box-trim.yml +# Do not edit this file by hand. Edit the source file instead! + +# TODO: Publish when supported by some browser. +draft: true +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 diff --git a/features/web-animations.dist.yml b/features/web-animations.dist.yml new file mode 100644 index 00000000000..f5d024fdf01 --- /dev/null +++ b/features/web-animations.dist.yml @@ -0,0 +1,74 @@ +# Generated from: web-animations.yml +# Do not edit this file by hand. Edit the source file instead! + +name: Web animations +description: The web animations API allows you to animate and synchronize the animations of DOM elements. +spec: https://drafts.csswg.org/web-animations-1/ +caniuse: web-animation +status: + baseline: low + baseline_low_date: 2022-09-12 + support: + chrome: "84" + chrome_android: "84" + edge: "84" + firefox: "80" + firefox_android: "80" + safari: "16" + safari_ios: "16" +compat_features: + # Animation interface. + - api.Animation + - api.Animation.Animation + - api.Animation.cancel_event + - api.Animation.cancel + - api.Animation.commitStyles + - api.Animation.currentTime + - api.Animation.effect + - api.Animation.finish + - api.Animation.finished + - api.Animation.finish_event + - api.Animation.id + - api.Animation.pause + - api.Animation.pending + - api.Animation.persist + - api.Animation.play + - api.Animation.playbackRate + - api.Animation.playState + - api.Animation.ready + - api.Animation.remove_event + - api.Animation.replaceState + - api.Animation.reverse + - api.Animation.startTime + - api.Animation.timeline + - api.Animation.updatePlaybackRate + # AnimationTimeline interface + - api.AnimationTimeline + - api.AnimationTimeline.currentTime + # AnimationEffect interface + - api.AnimationEffect + - api.AnimationEffect.getComputedTiming + - api.AnimationEffect.getTiming + - api.AnimationEffect.updateTiming + # AnimationPlaybackEvent interface + - api.AnimationPlaybackEvent + - api.AnimationPlaybackEvent.AnimationPlaybackEvent + - api.AnimationPlaybackEvent.currentTime + - api.AnimationPlaybackEvent.timelineTime + # KeyframeEffect interface + - api.KeyframeEffect + - api.KeyframeEffect.KeyframeEffect + - api.KeyframeEffect.composite + - api.KeyframeEffect.getKeyframes + # TODO: iterationComposite is a later addition and needs a better home than this feature + # - api.KeyframeEffect.iterationComposite + - api.KeyframeEffect.pseudoElement + - api.KeyframeEffect.setKeyframes + - api.KeyframeEffect.target + # DocumentTimeline interface + - api.DocumentTimeline + - api.DocumentTimeline.DocumentTimeline + # Various accessors + - api.Document.getAnimations + - api.Document.timeline + - api.Element.animate diff --git a/features/web-bluetooth.dist.yml b/features/web-bluetooth.dist.yml new file mode 100644 index 00000000000..cc2a4fb204c --- /dev/null +++ b/features/web-bluetooth.dist.yml @@ -0,0 +1,83 @@ +# Generated from: web-bluetooth.yml +# Do not edit this file by hand. Edit the source file instead! + +name: Web Bluetooth +description: The Web Bluetooth API enables selecting and communicating with nearby Bluetooth devices. +spec: https://webbluetoothcg.github.io/web-bluetooth/ +caniuse: web-bluetooth +# BCD considers Web Bluetooth partially supported in Chrome due to the lack of +# support on Linux (per guidelines), but caniuse makes this a regular note: +# https://github.com/mdn/browser-compat-data/blob/77452e99e130d783418b3fe1bd1862a558d911bb/api/Bluetooth.json#L13-L15 +# https://github.com/mdn/browser-compat-data/blob/77452e99e130d783418b3fe1bd1862a558d911bb/docs/data-guidelines/index.md#operating-system-limitations-imply-partial_implementation +# https://caniuse.com/web-bluetooth +# +# Nevertheless, it seems fair to call the features supported since Chrome 70, +# since macOS and Windows account for the vast majority of users. This ends up +# in-between the BCD and caniuse statuses, aligning with neither. +# +# TODO: convert this to partial implementation with notes. +status: + baseline: false + support: + chrome: "70" # macOS and Windows, not Linux + chrome_android: "56" + edge: "79" # macOS and Windows, not Linux +compat_features: + - api.Bluetooth + - api.Bluetooth.getAvailability + - api.Bluetooth.getDevices + - api.Bluetooth.requestDevice + - api.BluetoothCharacteristicProperties + - api.BluetoothCharacteristicProperties.authenticatedSignedWrites + - api.BluetoothCharacteristicProperties.broadcast + - api.BluetoothCharacteristicProperties.indicate + - api.BluetoothCharacteristicProperties.notify + - api.BluetoothCharacteristicProperties.read + - api.BluetoothCharacteristicProperties.reliableWrite + - api.BluetoothCharacteristicProperties.writableAuxiliaries + - api.BluetoothCharacteristicProperties.write + - api.BluetoothCharacteristicProperties.writeWithoutResponse + - api.BluetoothDevice + - api.BluetoothDevice.gatt + - api.BluetoothDevice.gattserverdisconnected_event + - api.BluetoothDevice.id + - api.BluetoothDevice.name + - api.BluetoothRemoteGATTCharacteristic + - api.BluetoothRemoteGATTCharacteristic.characteristicvaluechanged_event + - api.BluetoothRemoteGATTCharacteristic.getDescriptor + - api.BluetoothRemoteGATTCharacteristic.getDescriptors + - api.BluetoothRemoteGATTCharacteristic.properties + - api.BluetoothRemoteGATTCharacteristic.readValue + - api.BluetoothRemoteGATTCharacteristic.service + - api.BluetoothRemoteGATTCharacteristic.startNotifications + - api.BluetoothRemoteGATTCharacteristic.stopNotifications + - api.BluetoothRemoteGATTCharacteristic.uuid + - api.BluetoothRemoteGATTCharacteristic.value + - api.BluetoothRemoteGATTCharacteristic.writeValue + - api.BluetoothRemoteGATTCharacteristic.writeValueWithResponse + - api.BluetoothRemoteGATTCharacteristic.writeValueWithoutResponse + - api.BluetoothRemoteGATTDescriptor + - api.BluetoothRemoteGATTDescriptor.characteristic + - api.BluetoothRemoteGATTDescriptor.readValue + - api.BluetoothRemoteGATTDescriptor.uuid + - api.BluetoothRemoteGATTDescriptor.value + - api.BluetoothRemoteGATTDescriptor.writeValue + - api.BluetoothRemoteGATTServer + - api.BluetoothRemoteGATTServer.connect + - api.BluetoothRemoteGATTServer.connected + - api.BluetoothRemoteGATTServer.device + - api.BluetoothRemoteGATTServer.disconnect + - api.BluetoothRemoteGATTServer.getPrimaryService + - api.BluetoothRemoteGATTServer.getPrimaryServices + - api.BluetoothRemoteGATTService + - api.BluetoothRemoteGATTService.device + - api.BluetoothRemoteGATTService.getCharacteristic + - api.BluetoothRemoteGATTService.getCharacteristics + - api.BluetoothRemoteGATTService.isPrimary + - api.BluetoothRemoteGATTService.uuid + - api.BluetoothUUID + - api.BluetoothUUID.canonicalUUID_static + - api.BluetoothUUID.getCharacteristic_static + - api.BluetoothUUID.getDescriptor_static + - api.BluetoothUUID.getService_static + - api.Navigator.bluetooth