Skip to content

Commit 5f93a67

Browse files
Adds <a> element (#1406)
Co-authored-by: Patrick Brosset <[email protected]>
1 parent 65c1bfa commit 5f93a67

File tree

2 files changed

+14
-56
lines changed

2 files changed

+14
-56
lines changed

features/draft/html-elements/a.yml renamed to features/a.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
draft_date: 2024-06-05
21
name: <a>
3-
description: The `<a>` element TODO.
2+
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.
43
spec: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-a-element
54
group: html
5+
status:
6+
compute_from: html.elements.a
67
compat_features:
78
- api.HTMLAnchorElement
8-
- api.HTMLAnchorElement.download
99
- api.HTMLAnchorElement.hash
1010
- api.HTMLAnchorElement.host
1111
- api.HTMLAnchorElement.hostname
@@ -14,7 +14,6 @@ compat_features:
1414
- api.HTMLAnchorElement.origin
1515
- api.HTMLAnchorElement.password
1616
- api.HTMLAnchorElement.pathname
17-
- api.HTMLAnchorElement.ping
1817
- api.HTMLAnchorElement.port
1918
- api.HTMLAnchorElement.protocol
2019
- api.HTMLAnchorElement.rel
@@ -26,10 +25,8 @@ compat_features:
2625
- api.HTMLAnchorElement.type
2726
- api.HTMLAnchorElement.username
2827
- html.elements.a
29-
- html.elements.a.download
3028
- html.elements.a.href
3129
- html.elements.a.hreflang
32-
- html.elements.a.ping
3330
- html.elements.a.rel
3431
- html.elements.a.rel.noopener
3532
- html.elements.a.rel.noreferrer

features/draft/html-elements/a.yml.dist renamed to features/a.yml.dist

Lines changed: 11 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
# Do not edit this file by hand. Edit the source file instead!
33

44
status:
5-
baseline: false
5+
baseline: high
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
68
support:
7-
chrome: "65"
8-
chrome_android: "65"
9-
edge: "79"
10-
safari: "10.1"
11-
safari_ios: "13"
9+
chrome: "1"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "1"
13+
firefox_android: "4"
14+
safari: "1"
15+
safari_ios: "1"
1216
compat_features:
17+
# ⬇️ Same status as overall feature ⬇️
1318
# baseline: high
1419
# baseline_low_date: 2015-07-29
1520
# baseline_high_date: 2018-01-29
@@ -68,19 +73,6 @@ compat_features:
6873
# safari_ios: "1"
6974
- api.HTMLAnchorElement.toString
7075

71-
# baseline: high
72-
# baseline_low_date: 2017-03-27
73-
# baseline_high_date: 2019-09-27
74-
# support:
75-
# chrome: "15"
76-
# chrome_android: "18"
77-
# edge: "13"
78-
# firefox: "20"
79-
# firefox_android: "20"
80-
# safari: "10.1"
81-
# safari_ios: "10.3"
82-
- api.HTMLAnchorElement.download
83-
8476
# baseline: high
8577
# baseline_low_date: 2018-04-30
8678
# baseline_high_date: 2020-10-30
@@ -107,19 +99,6 @@ compat_features:
10799
# safari_ios: "9"
108100
- api.HTMLAnchorElement.relList
109101

110-
# baseline: high
111-
# baseline_low_date: 2019-09-19
112-
# baseline_high_date: 2022-03-19
113-
# support:
114-
# chrome: "14"
115-
# chrome_android: "18"
116-
# edge: "18"
117-
# firefox: "20"
118-
# firefox_android: "20"
119-
# safari: "10.1"
120-
# safari_ios: "13"
121-
- html.elements.a.download
122-
123102
# baseline: high
124103
# baseline_low_date: 2020-01-15
125104
# baseline_high_date: 2022-07-15
@@ -146,21 +125,3 @@ compat_features:
146125
# safari: "10.1"
147126
# safari_ios: "10.3"
148127
- html.elements.a.rel.noopener
149-
150-
# baseline: false
151-
# support:
152-
# chrome: "12"
153-
# chrome_android: "18"
154-
# edge: "17"
155-
# safari: "5.1"
156-
# safari_ios: "5"
157-
- api.HTMLAnchorElement.ping
158-
159-
# baseline: false
160-
# support:
161-
# chrome: "12"
162-
# chrome_android: "18"
163-
# edge: "17"
164-
# safari: "6"
165-
# safari_ios: "6"
166-
- html.elements.a.ping

0 commit comments

Comments
 (0)