- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 26 Nov 2012 17:00:51 -0800
- To: Andrew Fedoniouk <news@terrainformatica.com>
- Cc: Stephen Zilles <szilles@adobe.com>, "www-style@gtalbot.org" <www-style@gtalbot.org>, "www-style@w3.org" <www-style@w3.org>
On Mon, Nov 26, 2012 at 4:35 PM, Andrew Fedoniouk <news@terrainformatica.com> wrote: > Consider these two properties: > > 'min-height' specifies the minimal height [of an element]. > 'line-height' specifies the minimal height of line boxes. > > Seems like both define same concept - they constrain the height to a > certain minimal value that > computed value of height may use. > > By defining min-height you *cannot* make elements smaller, only larger. > But by defining line-height you can make line-box smaller than its content. I'm confused. You just stated completely different things. The line box never grows smaller than the largest line-height of the box fragments on the line. That's the same sense of "minimal" that min-height gives to a box. ~TJ
Received on Tuesday, 27 November 2012 01:01:39 UTC