Skip to content

Commit

Permalink
Adds text stroke and fill compat feature (#2330)
Browse files Browse the repository at this point in the history
* Adds text stroke and fill compat feature

* Apply suggestions from code review

Co-authored-by: James Stuckey Weber <[email protected]>

---------

Co-authored-by: James Stuckey Weber <[email protected]>
  • Loading branch information
vwallen and jamesnw authored Nov 26, 2024
1 parent 1ec8338 commit a1aaa91
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
10 changes: 10 additions & 0 deletions features/text-stroke-fill.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Text stroke and fill (compatibility prefixes)
description: The `-webkit-text-stroke-width` and `-webkit-text-stroke-color` CSS properties set the thickness and color of text outlines. The `-webkit-text-fill-color` sets the color within text character outlines. Both default to the text color.
group: css
caniuse: text-stroke
spec: https://compat.spec.whatwg.org/#text-fill-and-stroking
compat_features:
- css.properties.-webkit-text-fill-color
- css.properties.-webkit-text-stroke
- css.properties.-webkit-text-stroke-color
- css.properties.-webkit-text-stroke-width
56 changes: 56 additions & 0 deletions features/text-stroke-fill.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated from: text-stroke-fill.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2017-04-05
baseline_high_date: 2019-10-05
support:
chrome: "4"
chrome_android: "18"
edge: "15"
firefox: "49"
firefox_android: "49"
safari: "3"
safari_ios: "2"
compat_features:
# baseline: high
# baseline_low_date: 2016-09-20
# baseline_high_date: 2019-03-20
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "49"
# firefox_android: "49"
# safari: "3"
# safari_ios: "2"
- css.properties.-webkit-text-fill-color

# baseline: high
# baseline_low_date: 2017-04-05
# baseline_high_date: 2019-10-05
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "15"
# firefox: "49"
# firefox_android: "49"
# safari: "3"
# safari_ios: "2"
- css.properties.-webkit-text-stroke-color
- css.properties.-webkit-text-stroke-width

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2017-04-05
# baseline_high_date: 2019-10-05
# support:
# chrome: "4"
# chrome_android: "18"
# edge: "15"
# firefox: "49"
# firefox_android: "49"
# safari: "3"
# safari_ios: "2"
- css.properties.-webkit-text-stroke

0 comments on commit a1aaa91

Please sign in to comment.