Bug 1432045 - Maintain consistent alignment in case of font fallback for non-Latin characters. r=Gijs
authorDão Gottwald <dao@mozilla.com>
Tue, 23 Jan 2018 12:19:16 +0100
changeset 400496 b529d05259c5f20af811903842655c5061ffb951
parent 400495 c2e41df3f41f38fe9a38282610f7c1daf519f87c
child 400497 00ae6912038d66987b4b10022904a2e8bb7e970d
push id58545
push userdgottwald@mozilla.com
push dateWed, 24 Jan 2018 08:22:16 +0000
treeherderautoland@b529d05259c5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1432045, 1409615
milestone60.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 1432045 - Maintain consistent alignment in case of font fallback for non-Latin characters. r=Gijs as suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=1409615#c4 MozReview-Commit-ID: EUbVxUx3UkF
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -351,16 +351,18 @@ tabbrowser {
   #TabsToolbar[brighttext] .tab-throbber-fallback[progress]:not([selected=true]) {
     list-style-image: url("chrome://browser/skin/tabbrowser/tab-loading-inverted@2x.png");
   }
 }
 
 .tab-label {
   margin-inline-end: 0;
   margin-inline-start: 0;
+  /* Maintain consistent alignment in case of font fallback for non-Latin characters. */
+  line-height: 1.7em;
 }
 
 .tab-close-button {
   margin-inline-end: -2px;
   -moz-context-properties: fill, fill-opacity, stroke-opacity;
   stroke-opacity: var(--toolbarbutton-icon-fill-opacity);
 }