On Sat, 10 Apr 2004, Felix Miata wrote:
http://www.konqueror.org/ displays thus on 1.7b on Win98 & Linux http://members.ij.net/mrmazda/ss/konq-org.png. There is no H1 overlapping in IE6 or Konqueror. I fail to find in http://www.konqueror.org/media/styles/standard.css rule(s) responsible for the computed 19.2px line-height in H1 that DOMI shows for the 32px #content div H1 font-size. Is there some reasonably easy way to make DOMI show me what rules resulted in the inadequate computed line-height? Did I find a Moz bug here?
It's a konqueror bug. The line-height is set on the <body> element to be 1.2 times the font-size of the body element, which is 1.2 times your default font size. But the <h1> has no explicit author-given size, soit just uses the size set by your UA, which in Mozilla's case is simply 2em, which computes to twice your default font size.
Konqueror is probably not inheriting "2em" properly.
That may be, but whatever it is, it turns out the same as IE, and looks far better.
Seems like a line-height not explicitly set for the current block ought to compute from the font-size of the current block instead of inheriting from some ancestor unrelated to where the current block's font-size comes from. In this case, neither font-size nor line-height for H1 were explicit, so both should come from the same place, which in this case I think should be the UA stylesheet.
--
"Each one should use whatever gift he has received to serve others..."
1 Peter 4:10 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://members.ij.net/mrmazda/ _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
