aboutsummaryrefslogtreecommitdiff
path: root/scss/_reboot.scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-03-09 21:48:37 +0100
committerXhmikosR <[email protected]>2020-03-18 20:59:27 +0200
commitd9e83671ae40f356c0700efd35e5933636f29101 (patch)
treea0ae3d342692d7df82193116e5efe4aba4cf2030 /scss/_reboot.scss
parent018a94c9c1766c2f191d98f14d8a780882d671ae (diff)
downloadbootstrap-d9e83671ae40f356c0700efd35e5933636f29101.tar.xz
bootstrap-d9e83671ae40f356c0700efd35e5933636f29101.zip
Drop IE support from Sass
Diffstat (limited to 'scss/_reboot.scss')
-rw-r--r--scss/_reboot.scss43
1 files changed, 8 insertions, 35 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index 9f63ab68a..b5fc6f101 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -34,7 +34,7 @@
//
// 1. Remove the margin in all browsers.
// 2. As a best practice, apply a default `background-color`.
-// 3. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.
+// 3. Prevent adjustments of font size after orientation changes in iOS.
// 4. Change the default tap highlight to be completely transparent in iOS.
body {
@@ -145,7 +145,7 @@ p {
// Abbreviations
//
// 1. Duplicate behavior to the data-* attribute for our tooltip plugin
-// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
+// 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
// 3. Add explicit cursor to indicate changed behavior.
// 4. Prevent the text-decoration to be skipped.
@@ -344,15 +344,8 @@ figure {
// Images and content
-img {
- vertical-align: middle;
-}
-
-// 1. Workaround for the SVG overflow bug in IE 11 is still required.
-// See https://github.com/twbs/bootstrap/issues/26878
-
+img,
svg {
- overflow: hidden; // 1
vertical-align: middle;
}
@@ -399,7 +392,7 @@ button {
border-radius: 0;
}
-// Work around a Firefox/IE bug where the transparent `button` background
+// Work around a Firefox bug where the transparent `button` background
// results in a loss of the default `button` focus styles.
// Credit https://github.com/suitcss/base/
@@ -487,12 +480,10 @@ input[type="month"] {
-webkit-appearance: textfield;
}
-// 1. Remove the default vertical scrollbar in IE.
-// 2. Textareas should really only resize vertically so they don't break their (horizontal) containers.
+// 1. Textareas should really only resize vertically so they don't break their (horizontal) containers.
textarea {
- overflow: auto; // 1
- resize: vertical; // 2
+ resize: vertical; // 1
}
// 1. Browsers set a default `min-width: min-content;` on fieldsets,
@@ -510,8 +501,7 @@ fieldset {
}
// 1. By using `float: left`, the legend will behave like a block element
-// 2. Correct the color inheritance from `fieldset` elements in IE.
-// 3. Correct the text wrapping in Edge and IE.
+// 2. Correct the text wrapping in Edge.
legend {
float: left; // 1
@@ -521,8 +511,7 @@ legend {
@include font-size($legend-font-size);
font-weight: $legend-font-weight;
line-height: inherit;
- color: inherit; // 2
- white-space: normal; // 3
+ white-space: normal; // 2
}
// Fix height of inputs with a type of datetime-local, date, month, week, or time
@@ -590,22 +579,6 @@ summary {
}
-// Template
-//
-// Add the correct display for template & main in IE 11
-
-template {
- display: none;
-}
-
-
-// Main
-
-main {
- display: block;
-}
-
-
// Progress
//
// Add the correct vertical alignment in Chrome, Firefox, and Opera.