- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Fri, 18 Mar 2011 15:08:34 -0700
- To: David Hyatt <hyatt@apple.com>
- Cc: David Woolley <forums@david-woolley.me.uk>, www-style CSS <www-style@w3.org>
On Mar 18, 2011, at 9:57 AM, David Hyatt <hyatt@apple.com> wrote:
>> So in the limited case of David's stated problem, it does not sound like we need a new property. Instead, the problem can be easily solved by using ems for the line-height.
>
>
> I suppose the rule would be something like:
>
> ::first-line * { line-height:1em }
>
> And you're right that would work. You would lose some extra spacing above the ascent from discarding the built-in line spacing of the larger font though, although you would lose that with a "glyphs" value of line-box-contain as well.
Actually, what I meant is to change the UA stylesheet, so if, for example, it currently has this:
p { line-height:1.2; }
then instead you change it to this:
p { line-height:1.2em; }
Does this not fix the problem with little or no negative repercussions?
Received on Friday, 18 March 2011 22:09:14 UTC