What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

If you look at the revision history of Is SO pricing their site predatorially if it is making a loss? on Chrome 34 / Windows 7, you should see the following:

title being cut off

The behavior of the title in revision 7 is probably not by-design.

share|improve this question
    
Also happens in Firefox Aurora 30.0a2. –  doppelgreener Apr 28 at 5:43
    
Looks like the return of this bug –  Shadow Wizard Apr 28 at 7:02
    
Just for record-keeping: I'm reversing the direction of the dupe closure because this post has an answer and the other one doesn't. –  Pops May 8 at 4:26
    
Fixed by design team around June 5, 2014 –  Shadow Wizard Jun 5 at 23:03

1 Answer 1

This is happening because the MSE style sheet specifies the default line height as:

html, body {
    font-size: 13px;
    line-height: 1.3em;  /* <-- note em units here */
}

This has exactly the same effect as:

html, body {
    font-size: 13px;
    line-height: 1.3;    /* <-- no units */
}

...except when some other inner element changes the font size while inheriting the line height.

This note on MDN describes exactly the same issue as the one we're seeing live here. It's titled "Prefer unitless numbers for line-height values". I'll let you all draw your own conclusions.


Ps. A simple specific work-around for this particular issue is:

h1 { line-height: 1.3 }

I've included this workaround in the Stack Overflow Unofficial Patch v1.14.

Pps. As of SOUP v1.14.1, this fix is also applied on Academia.SE, as the same bug appears to be present there as well.

share|improve this answer
    
Ps. See also this answer on SO describing the same issue. –  Ilmari Karonen Apr 28 at 8:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .