From 82d1d948ecd7725772eb1ffee495e7a5dcadb30b Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 12 Dec 2022 14:47:15 -0500 Subject: [PATCH] fix(normalize): remove normalize styles for outdated browsers (#26465) resolves #26464 --- core/src/css/normalize.scss | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/core/src/css/normalize.scss b/core/src/css/normalize.scss index 27fe773d1e..e8080fbc4e 100644 --- a/core/src/css/normalize.scss +++ b/core/src/css/normalize.scss @@ -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`.