-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some font CSS properties compat data #475
Changes from 4 commits
c1fd120
f098904
8d3fe94
04bc412
af1b7e7
163daa9
23e693e
6e611c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
"css": { | ||
"properties": { | ||
"font-family": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-family", | ||
"support": { | ||
"webview_android": { | ||
"version_added": "1" | ||
}, | ||
"chrome": { | ||
"version_added": "1" | ||
}, | ||
"chrome_android": { | ||
"version_added": "1" | ||
}, | ||
"edge": { | ||
"version_added": true | ||
}, | ||
"edge_mobile": { | ||
"version_added": true | ||
}, | ||
"firefox": { | ||
"version_added": "1" | ||
}, | ||
"firefox_android": { | ||
"version_added": "1" | ||
}, | ||
"ie": { | ||
"version_added": "3" | ||
}, | ||
"ie_mobile": { | ||
"version_added": "6" | ||
}, | ||
"opera": { | ||
"version_added": "3.5" | ||
}, | ||
"opera_android": { | ||
"version_added": "6" | ||
}, | ||
"safari": { | ||
"version_added": "1" | ||
}, | ||
"safari_ios": { | ||
"version_added": "1" | ||
} | ||
}, | ||
"status": { | ||
"experimental": false, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
}, | ||
"system_ui": { | ||
"__compat": { | ||
"description": "<code>system-ui</code>", | ||
"support": { | ||
"webview_android": { | ||
"version_added": "56" | ||
}, | ||
"chrome": { | ||
"version_added": "56" | ||
}, | ||
"chrome_android": { | ||
"version_added": "56" | ||
}, | ||
"edge": { | ||
"version_added": false | ||
}, | ||
"edge_mobile": { | ||
"version_added": false | ||
}, | ||
"firefox": [ | ||
{ | ||
"version_added": false | ||
}, | ||
{ | ||
"alternative_name": "-apple-system", | ||
"version_added": "43", | ||
"notes": "Supported on macOS only." | ||
} | ||
], | ||
"firefox_android": { | ||
"version_added": null | ||
}, | ||
"ie": { | ||
"version_added": false | ||
}, | ||
"ie_mobile": { | ||
"version_added": false | ||
}, | ||
"opera": { | ||
"version_added": "43" | ||
}, | ||
"opera_android": { | ||
"version_added": "43" | ||
}, | ||
"safari": { | ||
"alternative_name": "-apple-system", | ||
"version_added": true, | ||
"notes": "Supported since macOS 10.11." | ||
}, | ||
"safari_ios": { | ||
"alternative_name": "-apple-system", | ||
"version_added": true, | ||
"notes": "Supported since iOS 9." | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add status box (standard, but experimental) |
||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
{ | ||
"css": { | ||
"properties": { | ||
"font-feature-settings": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-feature-settings", | ||
"support": { | ||
"webview_android": { | ||
"version_added": "4.4" | ||
}, | ||
"chrome": [ | ||
{ | ||
"version_added": "48" | ||
}, | ||
{ | ||
"prefix": "-webkit-", | ||
"version_added": "16" | ||
} | ||
], | ||
"chrome_android": { | ||
"version_added": "48" | ||
}, | ||
"edge": { | ||
"version_added": "40.15063.0.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is not a valid value for Edge (valid are "12" to "15"); it is "15". |
||
}, | ||
"edge_mobile": { | ||
"version_added": true | ||
}, | ||
"firefox": [ | ||
{ | ||
"version_added": "34", | ||
"notes": [ | ||
"Starting with Firefox 34, the version prefixed with <code>-moz-</code> is only kept for backward compatibility purpose. It is controlled by the <code>layout.css.prefixes.font-features</code>, defaulting to <code>true</code>. The prefixed property will be removed in the future.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This note is not useful. |
||
"The <a href='http://mpeg.chiariglione.org/standards/mpeg-4/open-font-format/text-isoiec-cd-14496-22-3rd-edition' >ISO/IEC CD 14496-22 3rd edition</a> suggests using the <code>ssty</code> feature to provide glyph variants more suitable for use in scripts (for example primes used as superscripts). Starting with Firefox 29, this is done automatically by the <a href='https://developer.mozilla.org/docs/Web/MathML'>MathML</a> rendering engine. The ISO/IEC CD 14496-22 3rd edition also suggests applying the <code>dtls</code> feature to letters when placing mathematical accents to get dotless forms (for example dotless i, j with a hat). Starting with Firefox 35, this is done automatically by the MathML rendering engine. You can override the default values determined by the MathML rendering engine with CSS." | ||
] | ||
}, | ||
{ | ||
"prefix": "-moz-", | ||
"version_added": "4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would put "15" here. As "4" - "14" supported a different syntax. |
||
"notes": "From Firefox 4 to Firefox 14 (inclusive), Firefox supported an older, slightly different syntax. See <a href='http://hacks.mozilla.org/2010/11/firefox-4-font-feature-support/'>OpenType Font Feature support in Firefox 4</a>." | ||
} | ||
], | ||
"firefox_android": [ | ||
{ | ||
"version_added": "34", | ||
"notes": [ | ||
"Starting with Firefox 34, the version prefixed with <code>-moz-</code> is only kept for backward compatibility purpose. It is controlled by the <code>layout.css.prefixes.font-features</code>, defaulting to <code>true</code>. The prefixed property will be removed in the future.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Useless note. |
||
"The <a href='http://mpeg.chiariglione.org/standards/mpeg-4/open-font-format/text-isoiec-cd-14496-22-3rd-edition' >ISO/IEC CD 14496-22 3rd edition</a> suggests using the <code>ssty</code> feature to provide glyph variants more suitable for use in scripts (for example primes used as superscripts). Starting with Firefox 29, this is done automatically by the <a href='https://developer.mozilla.org/docs/Web/MathML'>MathML</a> rendering engine. The ISO/IEC CD 14496-22 3rd edition also suggests applying the <code>dtls</code> feature to letters when placing mathematical accents to get dotless forms (for example dotless i, j with a hat). Starting with Firefox 35, this is done automatically by the MathML rendering engine. You can override the default values determined by the MathML rendering engine with CSS." | ||
] | ||
}, | ||
{ | ||
"prefix": "-moz-", | ||
"version_added": "4", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "15" |
||
"notes": "From Firefox 4 to Firefox 14 (inclusive), Firefox supported an older, slightly different syntax. See <a href='http://hacks.mozilla.org/2010/11/firefox-4-font-feature-support/'>OpenType Font Feature support in Firefox 4</a>." | ||
} | ||
], | ||
"ie": { | ||
"version_added": "10" | ||
}, | ||
"ie_mobile": { | ||
"version_added": null | ||
}, | ||
"opera": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Supported unprefix in Opera 35. |
||
"prefix": "-webkit-", | ||
"version_added": "15" | ||
}, | ||
"opera_android": { | ||
"version_added": "24" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This looks strange. If no source, I would put 'true' there. |
||
}, | ||
"safari": [ | ||
{ | ||
"version_added": "9.1" | ||
}, | ||
{ | ||
"partial_implementation": true, | ||
"version_added": "4", | ||
"version_removed": "6" | ||
} | ||
], | ||
"safari_ios": [ | ||
{ | ||
"version_added": "9.3" | ||
}, | ||
{ | ||
"partial_implementation": true, | ||
"version_added": "3.2", | ||
"version_removed": "6.1" | ||
} | ||
] | ||
}, | ||
"status": { | ||
"experimental": false, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
{ | ||
"css": { | ||
"properties": { | ||
"font-kerning": { | ||
"__compat": { | ||
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/font-kerning", | ||
"support": { | ||
"webview_android": { | ||
"version_added": null | ||
}, | ||
"chrome": { | ||
"prefix": "-webkit-", | ||
"version_added": "32" | ||
}, | ||
"chrome_android": { | ||
"version_added": null | ||
}, | ||
"edge": { | ||
"version_added": true | ||
}, | ||
"edge_mobile": { | ||
"version_added": true | ||
}, | ||
"firefox": [ | ||
{ | ||
"version_added": "32" | ||
}, | ||
{ | ||
"version_added": "24", | ||
"version_removed": true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed in "34" See: https://bugzilla.mozilla.org/show_bug.cgi?id=975744 |
||
"flag": { | ||
"type": "preference", | ||
"name": "layout.css.font-features.enabled", | ||
"value_to_set": "true" | ||
} | ||
} | ||
], | ||
"firefox_android": [ | ||
{ | ||
"version_added": "32" | ||
}, | ||
{ | ||
"version_added": "24", | ||
"version_removed": true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed in "34" See: https://bugzilla.mozilla.org/show_bug.cgi?id=975744 |
||
"flag": { | ||
"type": "preference", | ||
"name": "layout.css.font-features.enabled", | ||
"value_to_set": "true" | ||
} | ||
} | ||
], | ||
"ie": { | ||
"version_added": false | ||
}, | ||
"ie_mobile": { | ||
"version_added": null | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. false |
||
}, | ||
"opera": { | ||
"version_added": null | ||
}, | ||
"opera_android": { | ||
"version_added": null | ||
}, | ||
"safari": { | ||
"version_added": "7" | ||
}, | ||
"safari_ios": { | ||
"version_added": "7" | ||
} | ||
}, | ||
"status": { | ||
"experimental": false, | ||
"standard_track": true, | ||
"deprecated": false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in Safari 9: https://developer.apple.com/library/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_9_0.html#//apple_ref/doc/uid/TP40014305-CH9-SW5