Open nilssolanki opened 6 years ago
Dear Yui-Team
There is a know flexbox-bug in IE 10 & 11, where flex-basis needs to have a unit if its value is 0.
0
E.g. flex-basis: 0; does not work in IE, whereas flex-basis: 0px or flex-basis: 0%; works.
flex-basis: 0;
flex-basis: 0px
flex-basis: 0%;
Unfortunately, the Yui-Compressor seems to strip out these values. If I input the following:
My output is going to be:
The same thing happens with the flex shorthand, e.g. flex: 1 0 0%;.
flex
flex: 1 0 0%;
Which makes it impossible to address the bug mention above. Could you please fix this? Thank you very much for your help!
any news/workaround for this one?
Dear Yui-Team
There is a know flexbox-bug in IE 10 & 11, where flex-basis needs to have a unit if its value is
0
.E.g.
flex-basis: 0;
does not work in IE, whereasflex-basis: 0px
orflex-basis: 0%;
works.Unfortunately, the Yui-Compressor seems to strip out these values. If I input the following:
flex-basis: 0%;
My output is going to be:
flex-basis: 0;
The same thing happens with the
flex
shorthand, e.g.flex: 1 0 0%;
.Which makes it impossible to address the bug mention above. Could you please fix this? Thank you very much for your help!