Bug 1266715 - Fix space between blinking cursor/selection highlight and the caret. draft
authorTing-Yu Lin <tlin@mozilla.com>
Fri, 22 Apr 2016 20:36:05 +0800
changeset 355365 c40f5a37cfde211b1c021c8847ae4afa9e01d845
parent 355364 8acad76ad57e6aec6e1dec8fa582b0bb23653eec
child 519176 ff2a3219eed668cd479bcae3df1029457cce582b
push id16265
push usertlin@mozilla.com
push dateFri, 22 Apr 2016 12:43:26 +0000
bugs1266715
milestone48.0a1
Bug 1266715 - Fix space between blinking cursor/selection highlight and the caret. 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 {