- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 14 May 2012 17:49:29 +0200
- To: Roger Baker <tstartme@hotmail.com>
- Cc: www-style@w3.org
On Mon, May 14, 2012 at 5:28 PM, Roger Baker <tstartme@hotmail.com> wrote: > What you're saying makes sense. When I add line-height: 0.2; to the > *paragraph*, the line box shortened as expected. Boris pointed me to the > section in the spec talking about the "strut," which I *believe* is > referring to the same concept you're talking about (line-height of the > containing block). I'm finding the strut difficult to understand -- it > appears to be a zero-width ("empty") em box, with font-size and line-height > as set on the block-level container, that is automatically added to each > child inline box. So it was the roughly 19px strut that was keeping the span > box expanded beyond my expectation. Yes, the "strut" is the same concept as "the line-height of the containing block". It's just another way to explain the same concept. ~TJ
Received on Monday, 14 May 2012 15:50:24 UTC