Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Internet Explorer leftovers. #28349

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions scss/_custom-forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,6 @@
color: $custom-select-disabled-color;
background-color: $custom-select-disabled-bg;
}

// Hides the default caret in IE11
&::-ms-expand {
display: none;
}
}

.custom-select-sm {
Expand Down
6 changes: 0 additions & 6 deletions scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@
@include box-shadow($input-box-shadow);
@include transition($input-transition);

// Unstyle the caret on `<select>`s in IE10+.
&::-ms-expand {
background-color: transparent;
border: 0;
}

// Customize the `:focus` state to imitate native WebKit styles.
@include form-control-focus($ignore-warning: true);

Expand Down
3 changes: 0 additions & 3 deletions scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@

.navbar-collapse {
display: flex !important; // stylelint-disable-line declaration-no-important

// Changes flex-bases to auto because of an IE10 bug
flex-basis: auto;
}

.navbar-toggler {
Expand Down
10 changes: 0 additions & 10 deletions scss/_reboot.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ html {
-webkit-tap-highlight-color: rgba($black, 0); // 5
}

// Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
// TODO: remove in v5
// stylelint-disable-next-line selector-list-comma-newline-after
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
display: block;
}

// Body
//
// 1. Remove the margin in all browsers.
Expand Down Expand Up @@ -257,9 +250,6 @@ img {
}

svg {
// Workaround for the SVG overflow bug in IE10/11 is still required.
// See https://github.com/twbs/bootstrap/issues/26878
overflow: hidden;
vertical-align: middle;
}

Expand Down
2 changes: 0 additions & 2 deletions scss/utilities/_stretched-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,5 @@
// Just in case `pointer-events: none` is set on a parent
pointer-events: auto;
content: "";
// IE10 bugfix, see https://stackoverflow.com/questions/16947967/ie10-hover-pseudo-class-doesnt-work-without-background-color
background-color: rgba(0, 0, 0, 0);
}
}