Skip to content

Commit

Permalink
Updated data for font-synthesis property (#12931)
Browse files Browse the repository at this point in the history
* Chrome 97 add support for font-synthesis and font-synthesis-small-caps

* Added font-synthesis longhand

* Applied suggestions

* Added entries for font-synthesis longhand in css.properties.*

* Updated Chromium-based browsers versions for font-synthesis

* Apply suggestions from code review

Mark font-synthesis-style and font-synthesis-weight as experimental

Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>

Co-authored-by: Daniel D. Beck <daniel@ddbeck.com>
  • Loading branch information
tursunova and ddbeck authored Jan 4, 2022
1 parent 1654c9a commit b8ab72c
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 10 deletions.
58 changes: 58 additions & 0 deletions css/properties/font-synthesis-small-caps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"css": {
"properties": {
"font-synthesis-small-caps": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-fonts/#font-synthesis-small-caps",
"support": {
"chrome": {
"version_added": "97"
},
"chrome_android": {
"version_added": "97"
},
"edge": {
"version_added": "97"
},
"firefox": {
"version_added": false,
"notes": "<a href='https://bugzil.la/1724892'>bug 1724892</a>."
},
"firefox_android": {
"version_added": false,
"notes": "<a href='https://bugzil.la/1724892'>bug 1724892</a>."
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "83"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false,
"notes": "<a href='https://webkit.org/b/232009'>bug 232009</a>."
},
"safari_ios": {
"version_added": false,
"notes": "<a href='https://webkit.org/b/232009'>bug 232009</a>."
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "97"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
58 changes: 58 additions & 0 deletions css/properties/font-synthesis-style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"css": {
"properties": {
"font-synthesis-style": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-fonts/#font-synthesis-style",
"support": {
"chrome": {
"version_added": "97"
},
"chrome_android": {
"version_added": "97"
},
"edge": {
"version_added": "97"
},
"firefox": {
"version_added": false,
"notes": "<a href='https://bugzil.la/1724892'>bug 1724892</a>."
},
"firefox_android": {
"version_added": false,
"notes": "<a href='https://bugzil.la/1724892'>bug 1724892</a>."
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "83"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false,
"notes": "<a href='https://webkit.org/b/232009'>bug 232009</a>."
},
"safari_ios": {
"version_added": false,
"notes": "<a href='https://webkit.org/b/232009'>bug 232009</a>."
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "97"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
58 changes: 58 additions & 0 deletions css/properties/font-synthesis-weight.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"css": {
"properties": {
"font-synthesis-weight": {
"__compat": {
"spec_url": "https://drafts.csswg.org/css-fonts/#font-synthesis-weight",
"support": {
"chrome": {
"version_added": "97"
},
"chrome_android": {
"version_added": "97"
},
"edge": {
"version_added": "97"
},
"firefox": {
"version_added": false,
"notes": "<a href='https://bugzil.la/1724892'>bug 1724892</a>."
},
"firefox_android": {
"version_added": false,
"notes": "<a href='https://bugzil.la/1724892'>bug 1724892</a>."
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "83"
},
"opera_android": {
"version_added": false
},
"safari": {
"version_added": false,
"notes": "<a href='https://webkit.org/b/232009'>bug 232009</a>."
},
"safari_ios": {
"version_added": false,
"notes": "<a href='https://webkit.org/b/232009'>bug 232009</a>."
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": "97"
}
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
20 changes: 10 additions & 10 deletions css/properties/font-synthesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"spec_url": "https://drafts.csswg.org/css-fonts/#font-synthesis",
"support": {
"chrome": {
"version_added": false
"version_added": "97"
},
"chrome_android": {
"version_added": false
"version_added": "97"
},
"edge": {
"version_added": false
"version_added": "97"
},
"firefox": {
"version_added": "34"
Expand All @@ -25,7 +25,7 @@
"version_added": false
},
"opera": {
"version_added": false
"version_added": "83"
},
"opera_android": {
"version_added": false
Expand All @@ -40,7 +40,7 @@
"version_added": false
},
"webview_android": {
"version_added": false
"version_added": "97"
}
},
"status": {
Expand All @@ -54,13 +54,13 @@
"description": "<code>small-caps</code>",
"support": {
"chrome": {
"version_added": false
"version_added": "97"
},
"chrome_android": {
"version_added": false
"version_added": "97"
},
"edge": {
"version_added": false
"version_added": "97"
},
"firefox": {
"version_added": "93"
Expand All @@ -72,7 +72,7 @@
"version_added": false
},
"opera": {
"version_added": false
"version_added": "83"
},
"opera_android": {
"version_added": false
Expand All @@ -87,7 +87,7 @@
"version_added": false
},
"webview_android": {
"version_added": false
"version_added": "97"
}
},
"status": {
Expand Down

0 comments on commit b8ab72c

Please sign in to comment.