Skip to content

Commit aac0096

Browse files
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
2 parents f24dab7 + 4fe2bd5 commit aac0096

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustdoc/html/static/css/rustdoc.css

-4
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,7 @@ body {
108108
/* Then override it with `anywhere`, which is required to make non-Safari browsers break
109109
more aggressively when we want them to. */
110110
overflow-wrap: anywhere;
111-
112-
-webkit-font-feature-settings: "kern", "liga";
113-
-moz-font-feature-settings: "kern", "liga";
114111
font-feature-settings: "kern", "liga";
115-
116112
background-color: var(--main-background-color);
117113
color: var(--main-color);
118114
}

0 commit comments

Comments
 (0)