fix(normalize): remove normalize styles for outdated browsers (#26465)

resolves #26464
This commit is contained in:
Liam DeBeasi
2022-12-12 14:47:15 -05:00
committed by GitHub
parent 385232334e
commit 82d1d948ec

View File

@ -30,31 +30,17 @@ strong {
font-weight: bold;
}
// Embedded content
// ==========================================================================
// Remove border when inside `a` element in IE 8/9/10.
// Makes it so the img does not flow outside container
img {
max-width: 100%;
border: 0;
}
// Correct overflow not hidden in IE 9/10/11.
svg:not(:root) {
overflow: hidden;
}
// Grouping content
// ==========================================================================
// Address margin not present in IE 8/9 and Safari.
figure {
margin: 1em 40px;
}
hr {
height: 1px;
@ -194,16 +180,6 @@ input::-moz-focus-inner {
border: 0;
}
// Firefox's implementation doesn't respect box-sizing, padding, or width.
// 1. Address box sizing set to `content-box` in IE 8/9/10.
// 2. Remove excess padding in IE 8/9/10.
input[type="checkbox"],
input[type="radio"] {
padding: 0; // 2
box-sizing: border-box; // 1
}
// Fix the cursor style for Chrome's increment/decrement buttons. For certain
// `font-size` values of the `input`, it causes the cursor style of the
// decrement button to change from `default` to `text`.