Fix for a bug just posted on www-style@w3.org

David Hyatt hyatt at apple.com
Wed Jul 21 22:07:35 CEST 2004


Yeah, it's possible this was a regression I caused, although he said it 
didn't work in Safari 1.2 either.

dave

On Jul 21, 2004, at 3:02 AM, Leo Savernik wrote:

> 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
> _______________________________________________
> Khtml-devel at kde.org
> https://mail.kde.org/mailman/listinfo/khtml-devel


More information about the Khtml-devel mailing list