-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
.caret visually broken in IE11 when zooming #17455
Comments
@Inspyro Which exact version are you using? v3.3.5? |
@Inspyro I can't reproduce with http://jsbin.com/lazivo/edit?html,output |
It's not supposed to understand that since that's supposed to be an IE8-specific hack. |
We don't really support zooming: http://getbootstrap.com/getting-started/#support-browser-zooming |
Ok i understand. However in this case the fix is rather easy. you just need to remove the space between the "solid" and the "\9". |
See also #16203. IMO, even though zooming makes the issue visible (and zooming isn't really supported by Bootstrap), the issue should still be fixed. Essentially, IE 11 doesn't render the border-top of the caret because it considers the "solid \9" with a space to be invalid CSS (see screenshot of F12 toolbar below). It's more or less good luck that the caret works without a top border at 100% zoom. Removing the space seems to be an easy fix. |
Just removing the space is not the right fix. The |
BTW, It also exits on Edge browser. |
Bootstrap 3 is no longer being officially developed or supported. All work has moved onto our next major release, v4. As such, this issue or pull request is being closed as a "won't fix." For additional help and support, we recommend utilizing our community resources. Thanks for your understanding, and see you on the other side of v4! <3, |
When using the non-minified version of the bootstrap.css you use a trick for ie8 and below by defining the .caret style like the following "border-top: 4px solid \9;". IE11 (in edge mode) won't understand this and therefore does not render the border at all - which makes the caret being rendered as broken in the middle.
When removing the space (between solid and \9) this does not happen - this is why with the minified version of bootstrap this works.
Please fix this in Bootstrap v3 and consider it for v4.
PS:
You could use a better solution instead of css hacks - see this stack overflow post:
http://stackoverflow.com/questions/814219/how-does-one-target-ie7-and-ie8-with-valid-css
The text was updated successfully, but these errors were encountered: