Index of CSS bugs/quirks/incompatibilities that Bootstrap works around, as of v3.2.0.
Goal: Ensure that each of these is mentioned in at least 1 MDN-like resource.
Because a common wiki is better than a bunch of scattered blog posts.
This list is based on scanning through the comments in Bootstrap's Less source code and the various warnings in Bootstrap's docs.
label {
display: inline-block;
max-width: 100%; // Force IE8 to wrap long content
}
- See twbs/bootstrap#13141
- Progress on a reduced testcase: https://github.com/cvrebert/bootstrap/tree/ie8-label-wrap-bug
- Possibly related to http://stackoverflow.com/questions/22550988/native-ie8-why-do-these-inline-block-elements-not-wrap-words-if-their-pare ?
// IE9 fubars the placeholder attribute in text inputs and the arrows on
// select elements in input groups. To fix it, we float the input.
- Details: twbs/bootstrap#11561 (comment)
- Bootstrap doesn't currently have any code specificially related to this, but there have been a few bug reports about this, so I figure it oughtta be mentioned in MDN.
- https://github.com/google/WebFundamentals/blob/master/src/site/input/touch/activestates/index.markdown#hover-and-focus-stickiness
The following incompatibilities have been successfully documented in MDN:
<fieldset>
min-width
legacy weirdnessresize
requiresoverflow
other thanvisible
- Is already documented in MDN. The Bootstrap source code comment was in error.
- Also filed CSSLint/csslint#517
- iOS Safari
[disabled]
opacity - iOS temporal
<input>
withdisplay: block
has its text vertically misaligned - Android Browser
<select>
menu indicator triangle bug - Viewport
device-width
bug in IE10 on Windows 8 and Windows Phone 8 - Firefox
placeholder
text opacity - Firefox for Android gradients on form controls
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button$compare?to=587233&from=584697
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select$compare?to=587235&from=536155
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea$compare?to=587243&from=578897
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input$compare?to=588303&from=588017
- Firefox for Android border on
input[type="file"]
- IE8-9
click
events ontransparent
overlaid elements bug
Hopefully these edits will survive in some form and not get wholesale reverted.
Seems there is a bug in IE7-8 where
input[type="text"]
&<textarea>
that are in a container which hasfilter: alpha(opacity=N);
are not re-rendered when being typed in.Curiously enough, if you move your mouse out of the parent with the
filter
, the text will magically appear / update.
- See twbs/bootstrap#3552
- http://jsbin.com/bazakefu/3/
- Unable to reproduce in IE7 or IE8 on Sauce Labs
- Perhaps related to http://snook.ca/archives/html_and_css/ie-position-fixed-opacity-filter ?
- Couldn't repro this on Sauce either...