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. ~TJReceived on Monday, 14 May 2012 15:50:24 UTC
This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:16 UTC