about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-01-03 17:19:28 -0800
committerGitHub <noreply@github.com>2023-01-03 17:19:28 -0800
commitaac0096cef2bb2bf64d78e910b6e30fa3f5f52ea (patch)
tree2141ee20cce39b9c5f68af202c3fae1c1e4d8601 /src
parentf24dab764f0bfea5fcae397cbe2b93e9f1570cd4 (diff)
parent4fe2bd567536719e556d7fc9a4b571042b7807f9 (diff)
downloadrust-aac0096cef2bb2bf64d78e910b6e30fa3f5f52ea.tar.gz
rust-aac0096cef2bb2bf64d78e910b6e30fa3f5f52ea.zip
Rollup merge of #106411 - notriddle:notriddle/font-feature-settings, r=GuillaumeGomez
rustdoc: remove legacy font-feature-settings CSS

According to [caniuse], these vendor prefixes aren't needed in any supported web browsers as defined in [RFC 1985].

* The last version of Chrome that required a vendor prefix was version 47. The current version is 108.
* Firefox 33 is the last version that required a vendor prefix. The [current Firefox ESR] is version 102.
* The last version of Safari that required a vendor prefix was version 9.1. The current version is 16.
* The last version of Safari/iOS that required a vendor prefix was version 9.3. The current version is 16.
* Edge never required vendor prefixes.
* UCAndroid never required vendor prefixes.

[caniuse]: https://caniuse.com/?search=font-feature-settings
[RFC 1985]: https://rust-lang.github.io/rfcs/1985-tiered-browser-support.html
[current Firefox ESR]: https://wiki.mozilla.org/Releases
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 6f8a306d665..afc369bc3fd 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -108,11 +108,7 @@ body {
 	/* Then override it with `anywhere`, which is required to make non-Safari browsers break
 	   more aggressively when we want them to. */
 	overflow-wrap: anywhere;
-
-	-webkit-font-feature-settings: "kern", "liga";
-	-moz-font-feature-settings: "kern", "liga";
 	font-feature-settings: "kern", "liga";
-
 	background-color: var(--main-background-color);
 	color: var(--main-color);
 }