Skip to content

Commit ae4dc12

Browse files
authored
Rollup merge of #103616 - rust-lang:notriddle/moz-box-sizing, r=GuillaumeGomez
rustdoc: remove CSS workaround for Firefox 29 CSS variables, which rustdoc now relies on, are only supported in Firefox 31 and later: https://www.mozilla.org/en-US/firefox/31.0/releasenotes/ This means it’s fine to also rely on unprefixed box-sizing, which is supported in Firefox 29 and later: https://www.mozilla.org/en-US/firefox/29.0/releasenotes/
2 parents f9dfb6e + 4d4b567 commit ae4dc12

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -857,9 +857,7 @@ so that we can apply CSS-filters to change the arrow color in themes */
857857
causes rounded corners and no border on iOS Safari. */
858858
-webkit-appearance: none;
859859
/* Override Normalize.css: we have margins and do
860-
not want to overflow - the `moz` attribute is necessary
861-
until Firefox 29, too early to drop at this point */
862-
-moz-box-sizing: border-box !important;
860+
not want to overflow */
863861
box-sizing: border-box !important;
864862
outline: none;
865863
border: 1px solid var(--border-color);

0 commit comments

Comments
 (0)