Skip to content

Commit 92d6be7

Browse files
authored
Update scroll to text fragment (#2459)
1 parent 346bb15 commit 92d6be7

File tree

2 files changed

+50
-14
lines changed

2 files changed

+50
-14
lines changed

features/scroll-to-text-fragment.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,13 @@ group:
55
- text-fragments
66
- scrolling
77
caniuse: url-scroll-to-text-fragment
8-
# This feature isn't in BCD, so the status manually matches caniuse instead:
8+
# Set status to match caniuse and not be impacted by feature detection issues.
99
status:
10-
baseline: false
11-
support:
12-
chrome: "81"
13-
chrome_android: "81"
14-
edge: "83"
15-
safari: "16.1"
16-
safari_ios: "16.1"
17-
# document.fragmentDirective cannot be considered part of this feature due to
18-
# https://webkit.org/b/273466. TODO: Consider partial support for this feature
10+
compute_from: html.elements.a.text_fragments
11+
# document.fragmentDirective delayed by https://webkit.org/b/273466.
12+
# TODO: Consider partial support for this feature
1913
# depending on https://github.com/WICG/scroll-to-text-fragment/issues/257.
20-
# compat_features:
21-
# - api.Document.fragmentDirective
22-
# - api.FragmentDirective
14+
compat_features:
15+
- api.Document.fragmentDirective
16+
- api.FragmentDirective
17+
- html.elements.a.text_fragments
+42-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,45 @@
11
# Generated from: scroll-to-text-fragment.yml
22
# Do not edit this file by hand. Edit the source file instead!
33

4-
{}
4+
status:
5+
baseline: low
6+
baseline_low_date: 2024-10-01
7+
support:
8+
chrome: "80"
9+
chrome_android: "80"
10+
edge: "80"
11+
firefox: "131"
12+
firefox_android: "131"
13+
safari: "16.1"
14+
safari_ios: "16.1"
15+
compat_features:
16+
# ⬇️ Same status as overall feature ⬇️
17+
# baseline: low
18+
# baseline_low_date: 2024-10-01
19+
# support:
20+
# chrome: "80"
21+
# chrome_android: "80"
22+
# edge: "80"
23+
# firefox: "131"
24+
# firefox_android: "131"
25+
# safari: "16.1"
26+
# safari_ios: "16.1"
27+
- html.elements.a.text_fragments
28+
29+
# baseline: false
30+
# support:
31+
# chrome: "81"
32+
# chrome_android: "81"
33+
# edge: "83"
34+
# firefox: "131"
35+
# firefox_android: "131"
36+
- api.FragmentDirective
37+
38+
# baseline: false
39+
# support:
40+
# chrome: "86"
41+
# chrome_android: "86"
42+
# edge: "86"
43+
# firefox: "131"
44+
# firefox_android: "131"
45+
- api.Document.fragmentDirective

0 commit comments

Comments
 (0)