twitter/bootstrap — Issue #2362: Use New Image Replacement Hack
Author: heavymark
Created: 2012-03-01 21:03:04+00:00
State: open

Rather than `text-indent: -99999px` which actually forces the browser to draw that canvas use the performance savings variation of `text-indent: 100%` for the caret class in dropdown.less. See Zeldman.com's post today for details:

http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/

.hide-text {
text-indent: 100%;
white-space: nowrap;
overflow: hidden;
}