Bug 1432045 - Maintain consistent alignment in case of font fallback for non-Latin characters. r=Gijs a=RyanVM
authorDão Gottwald <dao@mozilla.com>
Tue, 23 Jan 2018 12:19:16 +0100
changeset 452263 a2cd586a63ecd6483c5aef6e00b456164064d818
parent 452262 3b3bdaf075d3b40ddf3dbc68f8a319b92d46f689
child 452264 e8928484234d092ea9e5d6771c296d0a42a8b3da
push id8670
push userebalazs@mozilla.com
push dateThu, 08 Feb 2018 10:38:12 +0000
treeherdermozilla-beta@e8928484234d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, RyanVM
bugs1432045, 1409615
milestone59.0
Bug 1432045 - Maintain consistent alignment in case of font fallback for non-Latin characters. r=Gijs a=RyanVM 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);
 }