Bug with line-height (font shorthand)

Lars Knoll khtml-devel@kde.org
Mon, 24 Feb 2003 16:59:41 +0100


> On Fre, 21 Feb 2003, David Hyatt wrote:
> > font: 1em/1em Ahem;
>
> doh. can you confirm that the attached patch works?

You're doing too much in that patch. There is no need to call update() for the 
font size calculations, as these relate to the parent elements font. Calling 
it before calculating the line height should be enough.

Cheers,
Lars