Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2d5b743
add font-weight
jamesnw Aug 16, 2024
2717d27
Add font-style
jamesnw Aug 17, 2024
257b382
Add font-metric-overrides
jamesnw Aug 20, 2024
7f6090c
Merge branch 'font-weight' into font-features
jamesnw Aug 20, 2024
0f04122
Merge branch 'font-style' into font-features
jamesnw Aug 20, 2024
273c18d
Merge branch 'font-overrides' into font-features
jamesnw Aug 20, 2024
4f242f8
Add font-stretch
jamesnw Aug 20, 2024
9c55b2b
Merge branch 'font-stretch' into font-features
jamesnw Aug 20, 2024
c4f75a7
Add font-size
jamesnw Aug 20, 2024
fc2c087
Edit Font weight
jamesnw Aug 20, 2024
e82e9bd
Merge branch 'main' of github.com:web-platform-dx/web-features into f…
jamesnw Aug 21, 2024
8b6d172
Adjust names
jamesnw Aug 21, 2024
91656d9
Add system font
jamesnw Aug 21, 2024
dda6915
Add font-family-math
jamesnw Aug 21, 2024
2920b39
Add font-family
jamesnw Aug 21, 2024
6dda592
Add font shorthand
jamesnw Aug 21, 2024
f727dab
Merge branch 'main' into font-features
jamesnw Aug 28, 2024
d1a3d77
Merge branch 'main' of github.com:web-platform-dx/web-features into f…
jamesnw Sep 4, 2024
9495e64
Font description updates
jamesnw Sep 4, 2024
c5f2237
Merge branch 'main' of github.com:web-platform-dx/web-features into f…
jamesnw Sep 17, 2024
88c10a8
Merge branch 'main' of github.com:web-platform-dx/web-features into f…
jamesnw Sep 18, 2024
946f707
Include full declaration in description
jamesnw Sep 18, 2024
4f8e24a
Merge branch 'main' of github.com:web-platform-dx/web-features into f…
jamesnw Sep 23, 2024
e21faab
Update descriptions
jamesnw Sep 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions features/font-family-math.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: Math font family
description: "The `font-family: math` CSS declaration uses the browser default font face for displaying mathematical expressions."
spec: https://drafts.csswg.org/css-fonts-4/#math-def
compat_features:
- css.properties.font-family.math
11 changes: 11 additions & 0 deletions features/font-family-math.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated from: font-family-math.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "109"
chrome_android: "109"
edge: "109"
compat_features:
- css.properties.font-family.math
6 changes: 6 additions & 0 deletions features/font-family-system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: System font
description: "The `font-family: system-ui` CSS declaration uses the operating system default font for text."
spec: https://drafts.csswg.org/css-fonts-4/#system-ui-def
caniuse: font-family-system-ui
compat_features:
- css.properties.font-family.system-ui
17 changes: 17 additions & 0 deletions features/font-family-system.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: font-family-system.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2021-09-07
baseline_high_date: 2024-03-07
support:
chrome: "56"
chrome_android: "56"
edge: "79"
firefox: "92"
firefox_android: "92"
safari: "11"
safari_ios: "11"
compat_features:
- css.properties.font-family.system-ui
7 changes: 7 additions & 0 deletions features/font-family.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: font-family
description: The `font-family` CSS property sets the desired font face for text, along with optional fallback font faces.
spec: https://drafts.csswg.org/css-fonts-4/#font-family-prop
group: fonts
compat_features:
- css.properties.font-family
- svg.global_attributes.font-family
18 changes: 18 additions & 0 deletions features/font-family.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated from: font-family.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
- css.properties.font-family
- svg.global_attributes.font-family
11 changes: 11 additions & 0 deletions features/font-metric-overrides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Font metric overrides
description: The `ascent-override`, `descent-override`, and `line-gap-override` descriptors adjust the display of a font declared in an `@font-face` statement. This can help make fallback fonts look the same size.
spec: https://drafts.csswg.org/css-fonts-4/#font-metrics-override-desc
group: fonts
compat_features:
- css.at-rules.font-face.ascent-override
- css.at-rules.font-face.descent-override
- css.at-rules.font-face.line-gap-override
- api.FontFace.ascentOverride
- api.FontFace.descentOverride
- api.FontFace.lineGapOverride
18 changes: 18 additions & 0 deletions features/font-metric-overrides.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated from: font-metric-overrides.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "87"
chrome_android: "87"
edge: "87"
firefox: "89"
firefox_android: "89"
compat_features:
- api.FontFace.ascentOverride
- api.FontFace.descentOverride
- api.FontFace.lineGapOverride
- css.at-rules.font-face.ascent-override
- css.at-rules.font-face.descent-override
- css.at-rules.font-face.line-gap-override
6 changes: 6 additions & 0 deletions features/font-shorthand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Font shorthand
description: The `font` CSS property shorthand sets multiple font properties, including style, weight, size, and font family.
spec: https://drafts.csswg.org/css-fonts-4/#font-prop
group: fonts
compat_features:
- css.properties.font
17 changes: 17 additions & 0 deletions features/font-shorthand.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: font-shorthand.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
- css.properties.font
1 change: 1 addition & 0 deletions features/font-size-adjust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ compat_features:
- css.properties.font-size-adjust.none
- css.properties.font-size-adjust.two-values
- svg.global_attributes.font-size-adjust
- css.at-rules.font-face.size-adjust
12 changes: 12 additions & 0 deletions features/font-size-adjust.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ status:
safari: "17"
safari_ios: "17"
compat_features:
# baseline: low
# baseline_low_date: 2023-09-18
# support:
# chrome: "92"
# chrome_android: "92"
# edge: "92"
# firefox: "92"
# firefox_android: "92"
# safari: "17"
# safari_ios: "17"
- css.at-rules.font-face.size-adjust

# baseline: low
# baseline_low_date: 2024-07-25
# support:
Expand Down
11 changes: 11 additions & 0 deletions features/font-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: font-size
description: The `font-size` CSS property sets the text height.
spec: https://drafts.csswg.org/css-fonts-4/#font-size-prop
group: fonts
status:
compute_from: css.properties.font-size
compat_features:
- css.properties.font-size
- css.properties.font-size.rem_values
- css.properties.font-size.xxx-large
- svg.global_attributes.font-size
55 changes: 55 additions & 0 deletions features/font-size.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Generated from: font-size.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
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
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1"
# safari_ios: "1"
- css.properties.font-size
- svg.global_attributes.font-size

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "31"
# chrome_android: "42"
# edge: "12"
# firefox: "31"
# firefox_android: "31"
# safari: "7"
# safari_ios: "7"
- css.properties.font-size.rem_values

# baseline: low
# baseline_low_date: 2023-03-27
# support:
# chrome: "79"
# chrome_android: "79"
# edge: "79"
# firefox: "70"
# firefox_android: "79"
# safari: "16.4"
# safari_ios: "16.4"
- css.properties.font-size.xxx-large
13 changes: 13 additions & 0 deletions features/font-stretch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: font-stretch
description: The `font-stretch` CSS property selects a font face from a font family based on width, either by a keyword such as `condensed` or a percentage.
# Note: `font-stretch` will become an alias to `font-width`: https://drafts.csswg.org/css-fonts/#font-stretch-desc
spec: https://drafts.csswg.org/css-fonts-4/#font-stretch-prop
group: fonts
caniuse: css-font-stretch
status:
compute_from: css.properties.font-stretch
compat_features:
- css.at-rules.font-face.font-stretch
- css.properties.font-stretch
- css.properties.font-stretch.percentage
- svg.global_attributes.font-stretch
56 changes: 56 additions & 0 deletions features/font-stretch.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated from: font-stretch.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2017-09-19
baseline_high_date: 2020-03-19
support:
chrome: "60"
chrome_android: "60"
edge: "12"
firefox: "9"
firefox_android: "9"
safari: "11"
safari_ios: "11"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2017-09-19
# baseline_high_date: 2020-03-19
# support:
# chrome: "60"
# chrome_android: "60"
# edge: "12"
# firefox: "9"
# firefox_android: "9"
# safari: "11"
# safari_ios: "11"
- css.properties.font-stretch
- svg.global_attributes.font-stretch

# baseline: high
# baseline_low_date: 2018-09-05
# baseline_high_date: 2021-03-05
# support:
# chrome: "62"
# chrome_android: "62"
# edge: "17"
# firefox: "62"
# firefox_android: "62"
# safari: "10.1"
# safari_ios: "10.3"
- css.at-rules.font-face.font-stretch

# baseline: high
# baseline_low_date: 2018-10-02
# baseline_high_date: 2021-04-02
# support:
# chrome: "62"
# chrome_android: "62"
# edge: "18"
# firefox: "61"
# firefox_android: "61"
# safari: "11.1"
# safari_ios: "11.3"
- css.properties.font-stretch.percentage
13 changes: 13 additions & 0 deletions features/font-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: font-style
description: The `font-style` CSS property sets the text style, with `normal`, `italic`, and `oblique` options.
spec: https://drafts.csswg.org/css-fonts-4/#font-style-prop
group: fonts
status:
compute_from: css.properties.font-style
compat_features:
- css.at-rules.font-face.font-style
- css.properties.font-style
- css.properties.font-style.italic
- css.properties.font-style.normal
- css.properties.font-style.oblique-angle
- svg.global_attributes.font-style
58 changes: 58 additions & 0 deletions features/font-style.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Generated from: font-style.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
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
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1"
# safari_ios: "1"
- css.properties.font-style
- css.properties.font-style.italic
- css.properties.font-style.normal
- svg.global_attributes.font-style

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "4"
# chrome_android: "18"
# edge: "12"
# firefox: "3.5"
# firefox_android: "4"
# safari: "3.1"
# safari_ios: "2"
- css.at-rules.font-face.font-style

# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "62"
# chrome_android: "62"
# edge: "79"
# firefox: "61"
# firefox_android: "61"
# safari: "11.1"
# safari_ios: "11.3"
- css.properties.font-style.oblique-angle
15 changes: 15 additions & 0 deletions features/font-weight.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: font-weight
description: The `font-weight` CSS property controls the thickness of a font. It is set explicitly with the keyword `bold` or a number, or relative to the inherited thickness with the keywords `bolder` or `lighter`.
spec: https://drafts.csswg.org/css-fonts-4/#font-weight-prop
group: fonts
status:
compute_from: css.properties.font-weight
compat_features:
- css.at-rules.font-face.font-weight
- css.properties.font-weight
- css.properties.font-weight.bold
- css.properties.font-weight.bolder
- css.properties.font-weight.lighter
- css.properties.font-weight.normal
- css.properties.font-weight.number
- svg.global_attributes.font-weight
Loading