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: replace elemIsInParent with Node.contains #118296

Merged
merged 1 commit into from
Nov 26, 2023

Commits on Nov 25, 2023

  1. rustdoc: replace elemIsInParent with Node.contains

    According to [MDN], this function is compatible with:
    
    * Chrome 16 and Edge 12
    * Firefox 9
    * Safari 1.1 and iOS Safari 1
    
    These browsers are well within our [support matrix], which requires
    compatibility with Chrome 118, Firefox 115, Safari 17, and Edge 119.
    
    [MDN]: https://developer.mozilla.org/en-US/docs/Web/API/Node/contains#browser_compatibility
    [support matrix]: https://browsersl.ist/#q=last+2+Chrome+versions%2C+last+1+Firefox+version%2C+Firefox+ESR%2C+last+1+Safari+version%2C+last+1+iOS+version%2C+last+1+Edge+version%2C+last+1+UCAndroid+version
    notriddle committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    bdcf916 View commit details
    Browse the repository at this point in the history