Skip to content

Commit

Permalink
Adds <a> element (#1406)
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Brosset <patrickbrosset@gmail.com>
  • Loading branch information
petele and captainbrosset authored Jul 18, 2024
1 parent 65c1bfa commit 5f93a67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 56 deletions.
9 changes: 3 additions & 6 deletions features/draft/html-elements/a.yml → features/a.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
draft_date: 2024-06-05
name: <a>
description: The `<a>` element TODO.
description: The `<a>` 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:
compute_from: html.elements.a
compat_features:
- api.HTMLAnchorElement
- api.HTMLAnchorElement.download
- api.HTMLAnchorElement.hash
- api.HTMLAnchorElement.host
- api.HTMLAnchorElement.hostname
Expand All @@ -14,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
Expand All @@ -26,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
Expand Down
61 changes: 11 additions & 50 deletions features/draft/html-elements/a.yml.dist → features/a.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -68,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
Expand All @@ -107,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
Expand All @@ -146,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

0 comments on commit 5f93a67

Please sign in to comment.