From 81024d4aa979e895088e5e6d2bd9ab0be8987636 Mon Sep 17 00:00:00 2001 From: Lawrence Hsu Date: Thu, 9 Oct 2014 14:56:46 -0700 Subject: [PATCH 1/3] Fix for #9377 and possible fix for #9486? --- src/styles/brackets.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index 5e2a1f962a7..ff4e5cf0494 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -740,6 +740,7 @@ a, img { padding: 4px 6px; .sprite-icon(0, 0, 13px, 13px, "images/split-view-icons.svg"); background-origin: content-box; // center image within the 13x13 area - ignore button's padding + -webkit-transform: translateZ(0); // forces GPU mode for better filter rending on retina -webkit-filter: drop-shadow(0 1px 0 rgba(0,0,0,0.36)); z-index: 1; } From fd197053d51c6d36030c4837d349faf2554652e9 Mon Sep 17 00:00:00 2001 From: Larz Date: Thu, 9 Oct 2014 16:18:42 -0700 Subject: [PATCH 2/3] Fixed typo. --- src/styles/brackets.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index ff4e5cf0494..d8c97e566d5 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -740,7 +740,7 @@ a, img { padding: 4px 6px; .sprite-icon(0, 0, 13px, 13px, "images/split-view-icons.svg"); background-origin: content-box; // center image within the 13x13 area - ignore button's padding - -webkit-transform: translateZ(0); // forces GPU mode for better filter rending on retina + -webkit-transform: translateZ(0); // forces GPU mode for better filter rendering on retina -webkit-filter: drop-shadow(0 1px 0 rgba(0,0,0,0.36)); z-index: 1; } From 9af053c071c364626e7bf1102eee9fe1e7867fa8 Mon Sep 17 00:00:00 2001 From: Larz Date: Thu, 9 Oct 2014 16:20:48 -0700 Subject: [PATCH 3/3] Added unprefixed transform, just in case. --- src/styles/brackets.less | 1 + 1 file changed, 1 insertion(+) diff --git a/src/styles/brackets.less b/src/styles/brackets.less index d8c97e566d5..97c4b1901fe 100644 --- a/src/styles/brackets.less +++ b/src/styles/brackets.less @@ -741,6 +741,7 @@ a, img { .sprite-icon(0, 0, 13px, 13px, "images/split-view-icons.svg"); background-origin: content-box; // center image within the 13x13 area - ignore button's padding -webkit-transform: translateZ(0); // forces GPU mode for better filter rendering on retina + transform: translateZ(0); // future proofing -webkit-filter: drop-shadow(0 1px 0 rgba(0,0,0,0.36)); z-index: 1; }