Update autoprefixer browser support matrix

WordPress no longer supports many old old browsers: https://make.wordpress.org/core/2017/04/23/target-browser-coverage/

This also removes alot of no longer necessary CSS. It served us well, but we are never getting back together with IE8,9,10.

So, in the (paraphrased) words of Taylor Swift:

I remember when we dropped support  the first time
Saying, "This is it, I've had enough, " 'cause like
We hadn't seen many users in a month
When you said you needed flexbox. (What?)
Then you postMessage again and say
"IE8, I miss you and I swear I'm gonna change, trust me."
Remember how that lasted for a day?
I say, "I hate the box model, " we break up, you call me, "I love css-grids."
Ooh, we called it off again last night
But ooh, this time I'm telling you, I'm telling you

We are never ever ever supporting IE 8,9,10,
We are never ever ever supporting IE 8,9,10,
You go talk to EDGE, talk to my FIREFOX, talk to CHROME
But we are never ever ever ever getting back together
Like, ever...

Fixes #37651.
Props stunnedbeast, netweb, jorbin.




git-svn-id: https://develop.svn.wordpress.org/trunk@41062 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin
2017-07-16 01:14:36 +00:00
parent d2e18ea761
commit eb78c8e092
32 changed files with 16 additions and 826 deletions
-35
View File
@@ -49,14 +49,11 @@
.column-response .comment-count-approved,
.column-comments .comment-count-no-comments,
.column-comments .comment-count-approved {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: block;
padding: 0 8px;
min-width: 24px;
height: 2em;
-webkit-border-radius: 5px;
border-radius: 5px;
background-color: #72777c;
color: #fff;
@@ -108,7 +105,6 @@
min-width: 7px;
height: 17px;
border: 2px solid #fff;
-webkit-border-radius: 11px;
border-radius: 11px;
background: #ca4a1f;
color: #fff;
@@ -208,7 +204,6 @@
#replycontent {
height: 120px;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -250,13 +245,11 @@
#the-comment-list th,
#the-comment-list td {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
#the-comment-list tr:last-child th,
#the-comment-list tr:last-child td {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -384,14 +377,12 @@ table.media .column-title .filename {
/* @todo: pick a consistent list table selector */
.wp-list-table a {
-webkit-transition: none;
transition: none;
}
#the-list tr:last-child td,
#the-list tr:last-child th {
border-bottom: none !important;
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -511,9 +502,6 @@ th.asc a:focus span.sorting-indicator:before {
}
.wp-list-table .toggle-row:focus:before {
-webkit-box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
@@ -524,7 +512,6 @@ th.asc a:focus span.sorting-indicator:before {
}
.wp-list-table .toggle-row:active {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -532,7 +519,6 @@ th.asc a:focus span.sorting-indicator:before {
position: absolute;
top: -5px;
left: 10px;
-webkit-border-radius: 50%;
border-radius: 50%;
display: block;
padding: 1px 2px 1px 0;
@@ -589,7 +575,6 @@ tr.wp-locked .locked-info {
}
tr.locked-info, tr.wp-locked .locked-info {
-webkit-transition: height 1s, opacity 0.5s;
transition: height 1s, opacity 0.5s;
}
@@ -715,7 +700,6 @@ th.asc a:focus span.sorting-indicator {
border-color: #5b9dd9;
color: #fff;
background: #00a0d2;
-webkit-box-shadow: none;
box-shadow: none;
outline: none; /* IE8 */
}
@@ -1277,7 +1261,6 @@ ul.cat-checklist {
.plugin-install #the-list td,
.upgrade .plugins td,
.upgrade .plugins th {
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}
@@ -1286,7 +1269,6 @@ ul.cat-checklist {
.plugins tr.active + tr.inactive th,
.plugins tr.active + tr.inactive td {
border-top: 1px solid rgba(0,0,0,0.03);
-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1;
box-shadow: inset 0 1px 0 rgba(0,0,0,0.02), inset 0 -1px 0 #e1e1e1;
}
@@ -1300,7 +1282,6 @@ ul.cat-checklist {
.plugins .updated th,
.plugins tr.active + tr.inactive.updated th,
.plugins tr.active + tr.inactive.updated td {
-webkit-box-shadow: none;
box-shadow: none;
}
@@ -1343,7 +1324,6 @@ ul.cat-checklist {
}
.plugins .plugin-update-tr .plugin-update {
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
overflow: hidden; /* clearfix */
padding: 0;
@@ -1429,12 +1409,9 @@ ul.cat-checklist {
float: left;
margin: 0 8px 16px;
width: 48.5%;
width: -webkit-calc( 50% - 8px );
width: calc( 50% - 8px );
background-color: #fff;
border: 1px solid #ddd;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -1450,7 +1427,6 @@ ul.cat-checklist {
@media screen and ( min-width: 1600px ) {
.plugin-card {
width: 30%;
width: -webkit-calc( 33.1% - 8px );
width: calc( 33.1% - 8px );
}
@@ -1534,7 +1510,6 @@ div.action-links,
.plugin-card-update-failed .notice-error {
margin: 0;
padding-left: 16px;
-webkit-box-shadow: 0 -1px 0 #ddd;
box-shadow: 0 -1px 0 #ddd;
}
@@ -1564,7 +1539,6 @@ div.action-links,
float: right;
clear: right;
width: 65%;
width: -webkit-calc( 100% - 180px );
width: calc( 100% - 180px );
}
@@ -1837,12 +1811,10 @@ div.action-links,
}
#the-comment-list .is-expanded td {
-webkit-box-shadow: none;
box-shadow: none;
}
#the-comment-list .is-expanded td:last-child {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
@@ -1891,7 +1863,6 @@ div.action-links,
min-width: 0;
padding: 0;
border: none;
-webkit-border-radius: 0;
border-radius: 0;
background: none;
color: #bb2a2a;
@@ -1941,8 +1912,6 @@ div.action-links,
display: block;
width: 100%;
max-width: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
@@ -2055,7 +2024,6 @@ div.action-links,
.plugins #the-list .update th,
.plugins #the-list .update td,
.wp-list-table.plugins #the-list .theme-title {
-webkit-box-shadow: none;
box-shadow: none;
border-top: none;
}
@@ -2071,7 +2039,6 @@ div.action-links,
.plugins tr.active + tr.inactive th.check-column,
.plugins tr.active + tr.inactive td.column-description,
.plugins .plugin-update-tr:before {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
@@ -2136,13 +2103,11 @@ div.action-links,
}
table.plugin-install #the-list td {
-webkit-box-shadow: none;
box-shadow: none;
}
table.plugin-install #the-list tr {
display: block;
-webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.1);
}