Bug 1266715 - Fix space between blinking cursor/selection highlight and the caret. r=snorp
authorTing-Yu Lin <tlin@mozilla.com>
Fri, 22 Apr 2016 20:36:05 +0800
changeset 294560 8f0b8d0c6bc3cd2127d92590ddb6652e1dc8d19a
parent 294559 a0c85ccffafd5429453c823f5f551121d515463c
child 294561 94f517f324033ef28d216e69841a1fedf3bfa934
push id75595
push usertlin@mozilla.com
push dateSat, 23 Apr 2016 02:43:17 +0000
treeherdermozilla-inbound@8f0b8d0c6bc3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1266715
milestone48.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1266715 - Fix space between blinking cursor/selection highlight and the caret. r=snorp MozReview-Commit-ID: 42ceKrat7WI
mobile/android/themes/core/content.css
--- a/mobile/android/themes/core/content.css
+++ b/mobile/android/themes/core/content.css
@@ -342,29 +342,29 @@ div:-moz-native-anonymous.moz-accessible
   padding-bottom: 59%;
   padding-right: 59%;
   left: -59%;
 }
 
 /* Override accessiblecaret css in layout/style/ua.css */
 div:-moz-native-anonymous.moz-accessiblecaret.normal > div.image {
   background-image: url("chrome://browser/skin/images/accessiblecaret-normal-hdpi.png");
-  bottom: -11%; /* space between the blinking cursor and the caret */
+  top: 11%; /* space between the blinking cursor and the caret */
 }
 
 div:-moz-native-anonymous.moz-accessiblecaret.left > div.image {
   background-image: url("chrome://browser/skin/images/accessiblecaret-tilt-left-hdpi.png");
   margin-left: -50%;
-  bottom: -1%; /* space between the selection highlight and the caret */
+  top: 1%; /* space between the selection highlight and the caret */
 }
 
 div:-moz-native-anonymous.moz-accessiblecaret.right > div.image {
   background-image: url("chrome://browser/skin/images/accessiblecaret-tilt-right-hdpi.png");
   margin-left: 47%;
-  bottom: -1%; /* space between the selection highlight and the caret */
+  top: 1%; /* space between the selection highlight and the caret */
 }
 
 @media (min-resolution: 1.5dppx) {
   div:-moz-native-anonymous.moz-accessiblecaret.normal > div.image {
     background-image: url("chrome://browser/skin/images/accessiblecaret-normal-hdpi.png");
   }
 
   div:-moz-native-anonymous.moz-accessiblecaret.left > div.image {