diff options
| author | Michael Howell <michael@notriddle.com> | 2023-04-10 16:15:51 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-04-12 10:31:06 -0700 |
| commit | bb7ed64f457be500a74d53c9d12f1d0a8f7badf6 (patch) | |
| tree | 0ffb08571f4631765cef1defa0e14d7454a77ed4 /src/rustdoc-json-types | |
| parent | 661b33f5247debc4e0cd948caa388997e18e9cb8 (diff) | |
| download | rust-bb7ed64f457be500a74d53c9d12f1d0a8f7badf6.tar.gz rust-bb7ed64f457be500a74d53c9d12f1d0a8f7badf6.zip | |
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 As described in the MDN page for this property: * 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.
Diffstat (limited to 'src/rustdoc-json-types')
0 files changed, 0 insertions, 0 deletions
