* Fixes #41700: Remove moz-focus-inner
* Update more Reboot styles to remove button and select text-transform
line-height: inherit;
}
- // Remove the inheritance of text transform in Firefox
- button,
- select {
- text-transform: none;
- }
// Set the cursor for non-`<button>` buttons
//
// Details at https://github.com/twbs/bootstrap/pull/30562
}
}
- // Remove inner border and padding from Firefox, but don't restore the outline like Normalize.
-
- ::-moz-focus-inner {
- padding: 0;
- border-style: none;
- }
-
// 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
textarea {
padding: 0;
}
- ::-webkit-inner-spin-button {
+ ::-webkit-inner-spin-button,
+ ::-webkit-outer-spin-button {
height: auto;
}
### Reboot
- Relocated heading classes (like `.h1`) and some type classes (`.mark` and `.small`) to Reboot from `_type.scss`. This avoids a dependency in Sass modules and we like to avoid extending selectors in general.
+- Removed the `::-moz-focus-inner` styles, as the pseudo selector is deprecated in Firefox.
+- Removed `text-transform: none` from `button` and `select` elements, as Firefox no longer incorrectly inherits text-transform.
### Forms