Fix for a bug just posted on www-style@w3.org
Leo Savernik
l.savernik at aon.at
Wed Jul 21 12:02:22 CEST 2004
Am Dienstag 20 Juli 2004 22:01 schrieb Dave Hyatt:
[...]
> // Subtract our parent's scroll offset.
> - if (parent())
> + if (m_object->isPositioned())
> + // For positioned layers, we subtract out the enclosing positioned
> layer's scroll offset. +
> enclosingPositionedAncestor()->subtractScrollOffset(x, y); + else
> parent()->subtractScrollOffset(x, y);
[...]
Strangely enough, this bug doesn't show up, neither to KDE 3.2, nor to KDE
CVS. Is it because we didn't merge RenderLayer::updatePositions (note the
trailing s)?
mfg
Leo
More information about the Khtml-devel
mailing list