diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-10-27 15:03:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-27 15:03:58 +0200 |
| commit | ae4dc125196a62447ab07ba6b130d936f56a66d0 (patch) | |
| tree | f4b91936c399e3f916fc8962813b6c87285617a9 | |
| parent | f9dfb6e32fdb2642b5c4b366f3bd5f0bbc25f411 (diff) | |
| parent | 4d4b567bcc64921921521a3076d8b4b94c96e441 (diff) | |
| download | rust-ae4dc125196a62447ab07ba6b130d936f56a66d0.tar.gz rust-ae4dc125196a62447ab07ba6b130d936f56a66d0.zip | |
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/
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index 5a1a6c0f0f9..934334e0c88 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -857,9 +857,7 @@ so that we can apply CSS-filters to change the arrow color in themes */ causes rounded corners and no border on iOS Safari. */ -webkit-appearance: none; /* Override Normalize.css: we have margins and do - not want to overflow - the `moz` attribute is necessary - until Firefox 29, too early to drop at this point */ - -moz-box-sizing: border-box !important; + not want to overflow */ box-sizing: border-box !important; outline: none; border: 1px solid var(--border-color); |
