mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
Bug 977796 - [Australis] Disable subpixel AA on all labels during customize mode transition for Windows. r=jaws.
This commit is contained in:
parent
c498079e85
commit
05180aefd8
@ -2500,6 +2500,16 @@ chatbox {
|
|||||||
|
|
||||||
%include ../shared/customizableui/customizeMode.inc.css
|
%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] {
|
#main-window[customize-entered] {
|
||||||
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
|
background-image: url("chrome://browser/skin/customizableui/customizeMode-gridTexture.png");
|
||||||
background-attachment: fixed;
|
background-attachment: fixed;
|
||||||
|
Loading…
Reference in New Issue
Block a user