Skip to content

Commit

Permalink
Add draft download and ping features (#1449)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
  • Loading branch information
foolip and ddbeck authored Aug 7, 2024
1 parent ab37751 commit 647eeea
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 0 deletions.
14 changes: 14 additions & 0 deletions features/draft/download.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
draft_date: 2024-07-17
name: download
description: The `download` attribute for `<a>` elements loads the target URL as a file to be saved, instead of navigating to it. An optional attribute value sets a default file name.
spec: https://html.spec.whatwg.org/multipage/links.html#attr-hyperlink-download
caniuse: download
status:
compute_from: html.elements.a.download
compat_features:
- api.HTMLAnchorElement.download
- api.HTMLAreaElement.download
- api.SVGAElement.download
- html.elements.a.download
- html.elements.area.download
- svg.elements.a.download
75 changes: 75 additions & 0 deletions features/draft/download.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Generated from: download.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2019-09-19
baseline_high_date: 2022-03-19
support:
chrome: "14"
chrome_android: "18"
edge: "18"
firefox: "20"
firefox_android: "20"
safari: "10.1"
safari_ios: "13"
compat_features:
# baseline: high
# baseline_low_date: 2017-03-27
# baseline_high_date: 2019-09-27
# support:
# chrome: "15"
# chrome_android: "18"
# edge: "13"
# firefox: "20"
# firefox_android: "20"
# safari: "10.1"
# safari_ios: "10.3"
- api.HTMLAnchorElement.download

# baseline: high
# baseline_low_date: 2017-03-27
# baseline_high_date: 2019-09-27
# support:
# chrome: "54"
# chrome_android: "54"
# edge: "12"
# firefox: "20"
# firefox_android: "20"
# safari: "10.1"
# safari_ios: "10.3"
- html.elements.area.download

# baseline: high
# baseline_low_date: 2017-03-27
# baseline_high_date: 2019-09-27
# support:
# chrome: "54"
# chrome_android: "54"
# edge: "13"
# firefox: "20"
# firefox_android: "20"
# safari: "10.1"
# safari_ios: "10.3"
- api.HTMLAreaElement.download

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2019-09-19
# baseline_high_date: 2022-03-19
# support:
# chrome: "14"
# chrome_android: "18"
# edge: "18"
# firefox: "20"
# firefox_android: "20"
# safari: "10.1"
# safari_ios: "13"
- html.elements.a.download

# baseline: false
# support:
# firefox: "20"
# firefox_android: "20"
- api.SVGAElement.download
- svg.elements.a.download
14 changes: 14 additions & 0 deletions features/draft/ping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
draft_date: 2024-07-17
name: ping
description: The `ping` attribute for `<a>` elements sets a URL to send a POST request to when the `<a>` is clicked. This is typically used for outbound link reporting.
spec: https://html.spec.whatwg.org/multipage/links.html#ping
caniuse: ping
status:
compute_from: html.elements.a.ping
compat_features:
- api.HTMLAnchorElement.ping
- api.HTMLAreaElement.ping
- api.SVGAElement.ping
- html.elements.a.ping
- html.elements.area.ping
- svg.elements.a.ping
37 changes: 37 additions & 0 deletions features/draft/ping.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Generated from: ping.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "12"
chrome_android: "18"
edge: "17"
safari: "6"
safari_ios: "6"
compat_features:
# baseline: false
# support:
# chrome: "12"
# chrome_android: "18"
# edge: "17"
# safari: "5.1"
# safari_ios: "5"
- api.HTMLAnchorElement.ping
- api.HTMLAreaElement.ping

# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support:
# chrome: "12"
# chrome_android: "18"
# edge: "17"
# safari: "6"
# safari_ios: "6"
- html.elements.a.ping
- html.elements.area.ping

# baseline: false
# support: {}
- api.SVGAElement.ping
- svg.elements.a.ping

0 comments on commit 647eeea

Please sign in to comment.