]> git.lizzy.rs Git - rust.git/commit
rustdoc: remove legacy user-select CSS
authorMichael Howell <michael@notriddle.com>
Thu, 5 Jan 2023 17:59:21 +0000 (10:59 -0700)
committerMichael Howell <michael@notriddle.com>
Thu, 5 Jan 2023 18:25:06 +0000 (11:25 -0700)
commit0de182a5810d6c732eb2bcd40d1b98eef884dd27
tree147e61454d5bc0c9e566fabc614f38280f50cd92
parent1d284af117716473e1a35cc0d91c170e44e3fc6e
rustdoc: remove legacy user-select CSS

According to [caniuse], the only supported browser that requires the vendor prefix,
as defined in [RFC 1985], is Safari.

* The last version of Chrome that required a vendor prefix was version 53.
  The current version is 108.
* Firefox 68 is the last version that required a vendor prefix. The
  [current Firefox ESR] is version 102.
* The current version of Safari for Mac and iOS still requires a prefix.
* The last version of Edge that required a vendor frefix was 18. The current
  version of Edge is 108.
* UCAndroid support is unknown, but if it still requires a vendor prefix,
  it's more likely to be `-webkit-` than `-moz-` or `-ms-`, since they
  would want to emulate iOS for compatibility.

[caniuse]: https://caniuse.com/?search=user-select
[RFC 1985]: https://rust-lang.github.io/rfcs/1985-tiered-browser-support.html
[current Firefox ESR]: https://wiki.mozilla.org/Releases
src/librustdoc/html/static/css/rustdoc.css