inlineblock / baselinePosition
Dirk Mueller
mueller at kde.org
Sun Nov 2 16:00:26 CET 2003
Hi,
RenderBlock::baselinePosition:
// Inline blocks are replaced elements. Otherwise, just pass off to
// the base class. If we're being queried as though we're the root line
// box, then the fact that we're an inline-block is irrelevant, and we
behave
// just like a block.
if (isReplaced() && !isRootLineBox)
return height()+marginTop()+marginBottom();
IMHO, this has to be merged with RenderReplaced::baselinePosition(), and
therefore should end up in the common baseclass, RenderBox.
what is the reason you didn't do that?
--
> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for FREE! <
More information about the Khtml-devel
mailing list