From c0ce8616aa7dd39a26e2c61e4889db8e579a8617 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Tue, 16 Jul 2024 10:54:52 -0400 Subject: [PATCH 1/5] Adds `` element --- features/{draft/html-elements => }/a.yml | 3 +-- features/{draft/html-elements => }/a.yml.dist | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename features/{draft/html-elements => }/a.yml (86%) rename features/{draft/html-elements => }/a.yml.dist (100%) diff --git a/features/draft/html-elements/a.yml b/features/a.yml similarity index 86% rename from features/draft/html-elements/a.yml rename to features/a.yml index b4120a54fa8..68b8351ab7c 100644 --- a/features/draft/html-elements/a.yml +++ b/features/a.yml @@ -1,6 +1,5 @@ -draft_date: 2024-06-05 name: -description: The `` element TODO. +description: The `` element, creates a hyperlink to anything accessible via a URL such as external web pages, files, email addresses, locations in the same page, and more. spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element group: html compat_features: diff --git a/features/draft/html-elements/a.yml.dist b/features/a.yml.dist similarity index 100% rename from features/draft/html-elements/a.yml.dist rename to features/a.yml.dist From aaafe2c19d3d644d8e11f0a4f5e3eb8375f59831 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Tue, 16 Jul 2024 11:34:23 -0400 Subject: [PATCH 2/5] Update features/a.yml Co-authored-by: Patrick Brosset --- features/a.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/a.yml b/features/a.yml index 68b8351ab7c..c8cba4bc722 100644 --- a/features/a.yml +++ b/features/a.yml @@ -1,5 +1,5 @@ name: -description: The `` element, creates a hyperlink to anything accessible via a URL such as external web pages, files, email addresses, locations in the same page, and more. +description: The `` element creates a hyperlink to any resource that's accessible via a URL, such as web pages, files, email addresses, locations within the same page. spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element group: html compat_features: From 0fad2a1f41c673a4ab739e0498e07069def5b875 Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Tue, 16 Jul 2024 11:36:14 -0400 Subject: [PATCH 3/5] add `compute_from` --- features/a.yml | 2 ++ features/a.yml.dist | 17 +++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/features/a.yml b/features/a.yml index c8cba4bc722..cae0032ab21 100644 --- a/features/a.yml +++ b/features/a.yml @@ -2,6 +2,8 @@ name: description: The `` element creates a hyperlink to any resource that's accessible via a URL, such as web pages, files, email addresses, locations within the same page. spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element group: html +status: + compute_from: html.elements.a compat_features: - api.HTMLAnchorElement - api.HTMLAnchorElement.download diff --git a/features/a.yml.dist b/features/a.yml.dist index 8e6bdb97427..d98c9dd4472 100644 --- a/features/a.yml.dist +++ b/features/a.yml.dist @@ -2,14 +2,19 @@ # Do not edit this file by hand. Edit the source file instead! status: - baseline: false + baseline: high + baseline_low_date: 2015-07-29 + baseline_high_date: 2018-01-29 support: - chrome: "65" - chrome_android: "65" - edge: "79" - safari: "10.1" - safari_ios: "13" + chrome: "1" + chrome_android: "18" + edge: "12" + firefox: "1" + firefox_android: "4" + safari: "1" + safari_ios: "1" compat_features: + # ⬇️ Same status as overall feature ⬇️ # baseline: high # baseline_low_date: 2015-07-29 # baseline_high_date: 2018-01-29 From af4b22ecad5c8719dda5885792f581ec6fdc3a8f Mon Sep 17 00:00:00 2001 From: Pete LePage Date: Wed, 17 Jul 2024 10:04:38 -0400 Subject: [PATCH 4/5] Remove `download` and `ping` --- features/a.yml | 4 ---- features/a.yml.dist | 44 -------------------------------------------- 2 files changed, 48 deletions(-) diff --git a/features/a.yml b/features/a.yml index cae0032ab21..0e6b3512205 100644 --- a/features/a.yml +++ b/features/a.yml @@ -6,7 +6,6 @@ status: compute_from: html.elements.a compat_features: - api.HTMLAnchorElement - - api.HTMLAnchorElement.download - api.HTMLAnchorElement.hash - api.HTMLAnchorElement.host - api.HTMLAnchorElement.hostname @@ -15,7 +14,6 @@ compat_features: - api.HTMLAnchorElement.origin - api.HTMLAnchorElement.password - api.HTMLAnchorElement.pathname - - api.HTMLAnchorElement.ping - api.HTMLAnchorElement.port - api.HTMLAnchorElement.protocol - api.HTMLAnchorElement.rel @@ -27,10 +25,8 @@ compat_features: - api.HTMLAnchorElement.type - api.HTMLAnchorElement.username - html.elements.a - - html.elements.a.download - html.elements.a.href - html.elements.a.hreflang - - html.elements.a.ping - html.elements.a.rel - html.elements.a.rel.noopener - html.elements.a.rel.noreferrer diff --git a/features/a.yml.dist b/features/a.yml.dist index d98c9dd4472..05b379d0170 100644 --- a/features/a.yml.dist +++ b/features/a.yml.dist @@ -73,19 +73,6 @@ compat_features: # safari_ios: "1" - api.HTMLAnchorElement.toString - # 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: 2018-04-30 # baseline_high_date: 2020-10-30 @@ -112,19 +99,6 @@ compat_features: # safari_ios: "9" - api.HTMLAnchorElement.relList - # 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: high # baseline_low_date: 2020-01-15 # baseline_high_date: 2022-07-15 @@ -151,21 +125,3 @@ compat_features: # safari: "10.1" # safari_ios: "10.3" - html.elements.a.rel.noopener - - # baseline: false - # support: - # chrome: "12" - # chrome_android: "18" - # edge: "17" - # safari: "5.1" - # safari_ios: "5" - - api.HTMLAnchorElement.ping - - # baseline: false - # support: - # chrome: "12" - # chrome_android: "18" - # edge: "17" - # safari: "6" - # safari_ios: "6" - - html.elements.a.ping From cb5fbc179c5fd063977e9382312f69f23fcd5d73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 18 Jul 2024 13:12:34 +0200 Subject: [PATCH 5/5] Update features/a.yml --- features/a.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/a.yml b/features/a.yml index 0e6b3512205..80070112344 100644 --- a/features/a.yml +++ b/features/a.yml @@ -1,5 +1,5 @@ name: -description: The `` element creates a hyperlink to any resource that's accessible via a URL, such as web pages, files, email addresses, locations within the same page. +description: The `` element creates a hyperlink to any resource that's accessible via a URL, such as web pages, files, email addresses, or locations within the same page. spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element group: html status: