Visitar URL original
_scaffold.sass: remove old scrollbar selectors by haampie · Pull Request #892 · pradyunsg/furo · GitHub
Skip to content

_scaffold.sass: remove old scrollbar selectors - #892

Merged
pradyunsg merged 1 commit into
pradyunsg:mainfrom
haampie:patch-3
Aug 17, 2025
Merged

pradyunsg merged 1 commit into
pradyunsg:mainfrom
haampie:patch-3

Conversation

@haampie

@haampie haampie commented Aug 11, 2025 •

Copy link
Copy Markdown
Contributor

The ::-webkit-scrollbar selectors lead to 10k+ selector match attempts on browsers where they are redundant. Since these fallback rules were added 5 years ago, they are likely redundant by now.

The existing article[role=main] * performs much better and is all that's needed for modern browsers.

These scrollbar selectors lead to 10k+ selector match attempts on browsers where they are redundant. `article[role=main] *` performs much better and is all that's needed for modern browsers. The other rules were added 5 years ago, and are likely no longer needed.
@pradyunsg
pradyunsg merged commit 426ea05 into pradyunsg:main Aug 17, 2025
@haampie
haampie deleted the patch-3 branch August 18, 2025 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants