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
In IE9, when table overflows, an error occurs with table-responsive and table-hover #14837
Comments
|
As a JS Bin: http://jsbin.com/yelug/ |
|
I'm unable to reproduce in Windows 7 IE9 on Sauce. Is your page missing the |
|
Dafuq. That is one nasty browser bug. @hnrch02 I presume that it stops being reproducible in IE10? |
|
Yes, only IE9 is affected. |
|
Yup, known IE9 browser bug:
The suggested fix would be: .table-responsive {
min-height: 0%;
}Which indeed fixes the problem for me in Sauce (and I was able repro the original). |
|
Documented the bug in MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/:hover$compare?to=681033&from=675369 |
|
Works perfectly. Thanks everyone. I appreciate the quick responses. |
Add min-height: 0% to .table-responsive; fixes #14837
|
@cvrebert: is the unit needed? |
|
I don't know. |
|
Well, the resulting CSS won't have the unit so if it's not really needed we should remove it. Otherwise, we might have to look at clean-css's options. |
|
@XhmikosR Bad news. My testing indicates that it needs to be |
|
@cvrebert How about we just use |
|
Wouldn't that have an edge case where the |
|
Fine, then we got to figure out how to disable the unit removal. I was just trying to be lazy 😄 |
|
|
|
The thing is, there isn't any way to do that in clean-css... /CC @jakubpawlowicz |
|
There's no way currently indeed. Does using sth like |
|
@jakubpawlowicz: unfortunately, I can't reproduce on my system so we'll need @cvrebert or @hnrch02 to confirm that :/ |
|
Yes, |
|
@hnrch02 Great, hopefully without side effects. clean-css won't strip |
|
@mdo How should we proceed here? |
|
Addressed by 783eced. |
|
As a side note, in clean-css 3.2 you'll be able to turn off 0[unit] -> 0 minification. See clean-css/clean-css@997d4d7. |
|
@cvrebert 3.5 clean-css exists yet, I think commit f41acae can be fixed? |
|
Filed #18144 for the outstanding zeroUnits TODO. |

When the IE9 browser window is minimized an error occurs with
responsive-tableandtable-hover. Extra space is added to the bottom of the table on hover.The text was updated successfully, but these errors were encountered: