Skip to content

Commit 9748035

Browse files
SondraEjamesnw
authored andcommitted
Adds Text underline position & text shadow (web-platform-dx#1997)
Co-authored-by: James Stuckey Weber <[email protected]>
1 parent aaba030 commit 9748035

File tree

4 files changed

+127
-0
lines changed

4 files changed

+127
-0
lines changed

features/text-shadow.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: text-shadow
2+
description: The `text-shadow` CSS property sets the position and styles of shadow on text.
3+
spec: https://drafts.csswg.org/css-text-decor-4/#text-shadow-property
4+
caniuse: css-textshadow
5+
group: text
6+
compat_features:
7+
- css.properties.text-shadow

features/text-shadow.yml.dist

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated from: text-shadow.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2015-07-29
7+
baseline_high_date: 2018-01-29
8+
support:
9+
chrome: "2"
10+
chrome_android: "18"
11+
edge: "12"
12+
firefox: "3.5"
13+
firefox_android: "4"
14+
safari: "1.1"
15+
safari_ios: "1"
16+
compat_features:
17+
- css.properties.text-shadow
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Text underline position
2+
description: "The `text-underline-position` and `text-underline-offset` CSS properties set the position and distance from initial position of text underlines on text with `text-decoration: underline`."
3+
spec: https://drafts.csswg.org/css-text-decor-4/#line-decoration
4+
group: text
5+
status:
6+
compute_from: css.properties.text-underline-offset
7+
compat_features:
8+
- css.properties.text-underline-offset
9+
- css.properties.text-underline-offset.auto
10+
- css.properties.text-underline-offset.percentage
11+
- css.properties.text-underline-position
12+
- css.properties.text-underline-position.from-font
13+
- css.properties.text-underline-position.left
14+
- css.properties.text-underline-position.right
15+
- css.properties.text-underline-position.under
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Generated from: text-underline-position.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: high
6+
baseline_low_date: 2020-11-19
7+
baseline_high_date: 2023-05-19
8+
support:
9+
chrome: "87"
10+
chrome_android: "87"
11+
edge: "87"
12+
firefox: "70"
13+
firefox_android: "79"
14+
safari: "12.1"
15+
safari_ios: "12.2"
16+
compat_features:
17+
# baseline: high
18+
# baseline_low_date: 2020-07-28
19+
# baseline_high_date: 2023-01-28
20+
# support:
21+
# chrome: "33"
22+
# chrome_android: "33"
23+
# edge: "12"
24+
# firefox: "74"
25+
# firefox_android: "79"
26+
# safari: "12.1"
27+
# safari_ios: "12.2"
28+
- css.properties.text-underline-position
29+
30+
# baseline: high
31+
# baseline_low_date: 2020-07-28
32+
# baseline_high_date: 2023-01-28
33+
# support:
34+
# chrome: "33"
35+
# chrome_android: "33"
36+
# edge: "79"
37+
# firefox: "74"
38+
# firefox_android: "79"
39+
# safari: "12.1"
40+
# safari_ios: "12.2"
41+
- css.properties.text-underline-position.under
42+
43+
# ⬇️ Same status as overall feature ⬇️
44+
# baseline: high
45+
# baseline_low_date: 2020-11-19
46+
# baseline_high_date: 2023-05-19
47+
# support:
48+
# chrome: "87"
49+
# chrome_android: "87"
50+
# edge: "87"
51+
# firefox: "70"
52+
# firefox_android: "79"
53+
# safari: "12.1"
54+
# safari_ios: "12.2"
55+
- css.properties.text-underline-offset
56+
- css.properties.text-underline-offset.auto
57+
58+
# baseline: high
59+
# baseline_low_date: 2020-11-19
60+
# baseline_high_date: 2023-05-19
61+
# support:
62+
# chrome: "87"
63+
# chrome_android: "87"
64+
# edge: "87"
65+
# firefox: "74"
66+
# firefox_android: "79"
67+
# safari: "12.1"
68+
# safari_ios: "12.2"
69+
- css.properties.text-underline-position.from-font
70+
71+
# baseline: false
72+
# support:
73+
# chrome: "71"
74+
# chrome_android: "71"
75+
# edge: "79"
76+
# firefox: "74"
77+
# firefox_android: "79"
78+
- css.properties.text-underline-position.left
79+
- css.properties.text-underline-position.right
80+
81+
# baseline: false
82+
# support:
83+
# chrome: "87"
84+
# chrome_android: "87"
85+
# edge: "87"
86+
# firefox: "74"
87+
# firefox_android: "79"
88+
- css.properties.text-underline-offset.percentage

0 commit comments

Comments
 (0)