Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc: use CSS overscroll-behavior instead of JavaScript #110165

Merged
merged 1 commit into from
Apr 12, 2023

Commits on Apr 12, 2023

  1. rustdoc: use CSS overscroll-behavior instead of JavaScript

    Fixes the desktop scrolling weirdness mentioned in
    rust-lang#98775 (comment)
    
    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.
    notriddle committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    bb7ed64 View commit details
    Browse the repository at this point in the history