[Webkit-unassigned] [Bug 105486] Need to re-layout fixed position elements after scale when using settings()->fixedElementsLayoutRelativeToFrame()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 20 14:29:47 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105486





--- Comment #6 from Simon Fraser (smfr) <simon.fraser at apple.com>  2012-12-20 14:32:01 PST ---
(From update of attachment 180405)
View in context: https://bugs.webkit.org/attachment.cgi?id=180405&action=review

> Source/WebCore/rendering/RenderView.cpp:1045
> +    TrackedRendererListHashSet* positionedDescendants = positionedObjects();
> +    if (!positionedDescendants)
> +        return;
> +    TrackedRendererListHashSet::iterator end = positionedDescendants->end();
> +    for (TrackedRendererListHashSet::iterator it = positionedDescendants->begin(); it != end; ++it) {
> +        RenderBox* renderer = *it;
> +        if (renderer->style()->position() != FixedPosition)
> +            continue;
> +        renderer->setNeedsPositionedMovementLayout();

You should use FrameView's list of fixed objects, not this one.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list