W3C home > Mailing lists > Public > www-style@w3.org > March 2011

line-box-contain question

From: David Hyatt <hyatt@apple.com>
Date: Fri, 18 Mar 2011 12:54:17 -0500
Message-id: <47A19732-67CC-43ED-8AC9-7195AB4AA7AF@apple.com>
To: www-style CSS <www-style@w3.org>

For the 'font' value, the text says:

"The block progression dimension of all non-replaced inline boxes..."

And then later on the text implies that line-box-contain:font replaced is the backwards-compatible HTML value (more or less).

Shouldn't that be "The extended block progression dimension..."?

It doesn't seem correct that 'font' value excludes the half-leading.  That would mean that "font replaced" completely ignores line-height.  Is that really intentional?  Shouldn't 'font' be equivalent to 'inline' and include the half-leading, and be identical other than the restriction of having to have an immediate non-empty text child?

That's how the quirks mode code looks in WebKit, so I thought I'd double check.

Received on Friday, 18 March 2011 17:54:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:57 UTC