Bug 977796 - [Australis] Disable subpixel AA on all labels during customize mode transition for Windows. r=jaws.

This commit is contained in:
Mike Conley 2014-02-26 16:42:18 -05:00
parent c498079e85
commit 05180aefd8

View File

@ -2500,6 +2500,16 @@ chatbox {
%include ../shared/customizableui/customizeMode.inc.css
/**
* This next rule is a hack to disable subpixel anti-aliasing on all
* labels during the customize mode transition. Subpixel anti-aliasing
* on Windows with Direct2D layers acceleration is particularly slow to
* paint, so this hack is how we sidestep that performance bottleneck.
*/
#main-window:-moz-any([customize-entering],[customize-exiting]) label {
transform: perspective(0.01px);
}
#main-window[customize-entered] {
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
background-attachment: fixed;