Bug 1266715 - Fix space between blinking cursor/selection highlight and the caret. r=snorp

MozReview-Commit-ID: 42ceKrat7WI

--HG--
extra : rebase_source : 83b456e67dd6e71392e869425df996a582b78a40
This commit is contained in:
Ting-Yu Lin 2016-04-22 20:36:05 +08:00
Родитель b4090694b7
Коммит 58b43c50d0
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -347,19 +347,19 @@ div:-moz-native-anonymous.moz-accessiblecaret > div.image {
/* 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) {