Skip to content
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
23 changes: 9 additions & 14 deletions features/async-clipboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,28 @@ name: Async clipboard
description: The `navigator.clipboard` API asynchronously reads and writes to the system clipboard.
spec: https://w3c.github.io/clipboard-apis/#async-clipboard-api
caniuse: async-clipboard
# Differences between web-features and caniuse.com are tracked here:
# https://github.com/Fyrd/caniuse/issues/7105
# https://github.com/Fyrd/caniuse/pull/7106
# https://github.com/Fyrd/caniuse/issues/7107
group: clipboard
# This feature's support history and data has been rather tangled. See:
# https://github.com/web-platform-dx/web-features/issues/1249
status:
baseline: low
baseline_low_date: 2024-06-11
support:
chrome: "66"
chrome_android: "66"
edge: "79"
firefox: "127"
firefox_android: "127"
safari: "13.1"
safari_ios: "13.4"
compute_from:
- api.Clipboard.read
- api.Clipboard.write
compat_features:
- api.Clipboard
- api.Clipboard.read
- api.Clipboard.readText
- api.Clipboard.write
- api.Clipboard.writeText
- api.Clipboard.type_image-png
- api.Clipboard.type_text-html
- api.Clipboard.type_text-plain
- api.ClipboardItem
- api.ClipboardItem.ClipboardItem
- api.ClipboardItem.getType
- api.ClipboardItem.presentationStyle
- api.ClipboardItem.type_image_svg_xml
- api.ClipboardItem.type_web
- api.ClipboardItem.types
- api.Navigator.clipboard
- api.Permissions.permission_clipboard-write
57 changes: 57 additions & 0 deletions features/async-clipboard.yml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Generated from: async-clipboard.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: low
baseline_low_date: 2024-06-11
support:
chrome: "66"
chrome_android: "66"
edge: "79"
firefox: "127"
firefox_android: "127"
safari: "13.1"
safari_ios: "13.4"
compat_features:
# baseline: high
# baseline_low_date: 2020-03-24
Expand Down Expand Up @@ -41,8 +52,21 @@ compat_features:
# safari: "13.1"
# safari_ios: "13.4"
- api.Clipboard.read
- api.Clipboard.type_text-plain
- api.Clipboard.write

# baseline: low
# baseline_low_date: 2024-06-11
# support:
# chrome: "76"
# chrome_android: "76"
# edge: "79"
# firefox: "127"
# firefox_android: "127"
# safari: "13.1"
# safari_ios: "13.4"
- api.Clipboard.type_image-png

# baseline: low
# baseline_low_date: 2024-06-11
# support:
Expand All @@ -57,6 +81,18 @@ compat_features:
- api.ClipboardItem.getType
- api.ClipboardItem.types

# baseline: low
# baseline_low_date: 2024-06-11
# support:
# chrome: "86"
# chrome_android: "86"
# edge: "86"
# firefox: "127"
# firefox_android: "127"
# safari: "13.1"
# safari_ios: "13.4"
- api.Clipboard.type_text-html

# baseline: low
# baseline_low_date: 2024-06-11
# support:
Expand All @@ -76,3 +112,24 @@ compat_features:
# safari: "13.1"
# safari_ios: "13.4"
- api.ClipboardItem.presentationStyle

# baseline: false
# support:
# chrome: "64"
# chrome_android: "64"
# edge: "79"
- api.Permissions.permission_clipboard-write

# baseline: false
# support:
# chrome: "104"
# chrome_android: "104"
# edge: "104"
- api.ClipboardItem.type_web

# baseline: false
# support:
# chrome: "124"
# chrome_android: "124"
# edge: "124"
- api.ClipboardItem.type_image_svg_xml
13 changes: 13 additions & 0 deletions features/clipboard-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Clipboard events
description: The `"copy"`, `"cut"`, and `"paste"` events fire on elements when the user starts an action with the clipboard.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fly-by comment that a new event will soon get added to chromium: the clipboardchange event. See https://chromestatus.com/feature/5085102657503232
I think it will probably make sense to add it to this feature when it ships.

spec: https://w3c.github.io/clipboard-apis/#clipboard-event-interfaces
group: clipboard
status:
compute_from: api.ClipboardEvent
compat_features:
- api.ClipboardEvent
- api.ClipboardEvent.ClipboardEvent
- api.ClipboardEvent.clipboardData
- api.Element.copy_event
- api.Element.cut_event
- api.Element.paste_event
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
# Generated from: clipboard-apis.yml
# Generated from: clipboard-events.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
baseline: high
baseline_low_date: 2017-03-27
baseline_high_date: 2019-09-27
support:
chrome: "124"
chrome_android: "124"
edge: "124"
chrome: "41"
chrome_android: "41"
edge: "12"
firefox: "22"
firefox_android: "22"
safari: "10.1"
safari_ios: "10.3"
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
Expand All @@ -23,6 +29,7 @@ compat_features:
- api.Element.cut_event
- api.Element.paste_event

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2017-03-27
# baseline_high_date: 2019-09-27
Expand All @@ -49,25 +56,3 @@ compat_features:
# safari: "10.1"
# safari_ios: "10.3"
- api.ClipboardEvent.ClipboardEvent

# baseline: false
# support:
# chrome: "64"
# chrome_android: "64"
# edge: "79"
- api.Permissions.permission_clipboard-write

# baseline: false
# support:
# chrome: "104"
# chrome_android: "104"
# edge: "104"
- api.ClipboardItem.type_web

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "124"
# chrome_android: "124"
# edge: "124"
- api.ClipboardItem.type_image_svg_xml
32 changes: 0 additions & 32 deletions features/draft/spec/clipboard-apis.yml

This file was deleted.