Rollup merge of #103643 - notriddle:notriddle/summary-focus-visible, r=GuillaumeGomez

rustdoc: stop hiding focus outlines on non-rustdoc-toggle details tags

We really shouldn't be overriding this kind of stuff unless the browser default is really broken (like outlining the thing that isn't clickable). This directly reverts b8f4e74cbc.
This commit is contained in:
Matthias Krüger 2022-10-28 07:06:47 +02:00 committed by GitHub
commit 32c96248c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -292,10 +292,6 @@ p:last-child {
margin: 0;
}
summary {
outline: none;
}
/* Fix some style changes due to normalize.css 8 */
button {
@ -1535,6 +1531,8 @@ details.rustdoc-toggle > summary.hideme {
details.rustdoc-toggle > summary {
list-style: none;
/* focus outline is shown on `::before` instead of this */
outline: none;
}
details.rustdoc-toggle > summary::-webkit-details-marker,
details.rustdoc-toggle > summary::marker {