View Single Post
Old 07-18-2013, 08:07 AM   #13
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by Rev. Bob View Post
That's exactly how it should work. A unitless line-height value of 1.3 should be identical to a percentage value of 130%. Since both of those are relative values that depend on the current font size (which is always 1em, by definition - more on that in a minute), both of those values should be equivalent to 1.3em.
What I meant to say is that "readingLineHeight=1.3" is maybe translated by the software to "body { line-height: 1.3em; }", and that this results in different absolute values in elements that inherit it, if one compares it with "body { line-height: 1.3; }". Whether readingLineHeight is handlet in this way, I don't know. Therefore it is a speculation.
tshering is offline   Reply With Quote