diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-04-12 20:56:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-12 20:56:21 +0200 |
| commit | 05e67b510f2229095353522255b6f766a0e06dbb (patch) | |
| tree | 555e3945fd8d6e820ca66a1894b123333ca6a3af /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 331e7c365962619f14f840eb4c6363a13717f148 (diff) | |
| parent | bb7ed64f457be500a74d53c9d12f1d0a8f7badf6 (diff) | |
| download | rust-05e67b510f2229095353522255b6f766a0e06dbb.tar.gz rust-05e67b510f2229095353522255b6f766a0e06dbb.zip | |
Rollup merge of #110165 - notriddle:notriddle/overscroll-behavior, r=GuillaumeGomez
rustdoc: use CSS `overscroll-behavior` instead of JavaScript Fixes the desktop scrolling weirdness mentioned in https://github.com/rust-lang/rust/pull/98775#issuecomment-1182575603 Preview: https://notriddle.com/rustdoc-demo-html-3/overscroll-behavior/issue_107918/index.html As described in the [MDN overscroll-behavior] page: * The current Firefox ESR is 102, and the first Firefox version to support this feature is 59. * The current Chrome version 112, and the first version to support this is 63. * Edge is described as having a minor bug in `none` mode, but we use `contain` mode anyway, so it doesn't matter. * Safari 16, released September 2022, is the last browser to add this feature, and is also the oldest version we officially support. [MDN overscroll-behavior]: https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
