-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Fix rustdoc display with js disabled #64994
Fix rustdoc display with js disabled #64994
Conversation
Hm, so what performance effect does this have? I'd expect the browser to be able to cope better with the page loading when everything is |
Browsers ignore the CSS nested in That said, as mentioned in the associated issue I think |
Ah, I missed that this was noscript-specific. (It would be great to clarify that in the PR description...) I think using details/summary is a longer-term refactor and likely comes with a much larger patch. I'm personally inclined to just land this. |
I answered to why I think |
@bors r+ rollup |
📌 Commit de961a7 has been approved by |
…, r=Mark-Simulacrum Fix rustdoc display with js disabled Fixes #64988. Currently, all sections are collapsed when the page is loading, and then is displayed once done. However, if js is disabled, they never get expanded. Therefore, they need to be shown by default. r? @Mark-Simulacrum
☀️ Test successful - checks-azure |
Fixes #64988.
Currently, all sections are collapsed when the page is loading, and then is displayed once done. However, if js is disabled, they never get expanded. Therefore, they need to be shown by default.
r? @Mark-Simulacrum