On Sun, 11 Apr 2004, Felix Miata wrote: >> >> 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.
It's easy enough to make examples where it looks better to do the right thing too: http://www.hixie.ch/tests/adhoc/css/fonts/line-height/005.html Mozilla, Opera, and Safari all render that correctly. Only Konqueror and IE violate the standards and display that incorrectly (and they don't even fail it in the same way, so Konqueror is not acting like IE here). > 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. But that isn't what the specification says: # 'line-height' # ... # Inherited: yes # ... # Computed value: for <length> and <percentage> the absolute value; # otherwise as specified -- http://www.w3.org/Style/Group/css2-src/visudet.html#propdef-line-height > 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. CSS does not distinguish between rules coming from the UA stylesheet or rules coming from author sheets after the cascade, so this would be quite a drastic change to the spec. -- Ian Hickson )\._.,--....,'``. fL U+1047E /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.' _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
