[Webkit-unassigned] [Bug 54297] position fixed element does not render properly when dynamically updated via javascript

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 27 09:39:38 PDT 2011


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





--- Comment #18 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-03-27 09:39:37 PST ---
(From update of attachment 86856)
View in context: https://bugs.webkit.org/attachment.cgi?id=86856&action=review

> Source/WebCore/rendering/RenderBox.cpp:1403
> +            if (style()->position() == FixedPosition) {
> +                bool containerSkipped;
> +                fixed = true;
> +                RenderObject* o = container(repaintContainer, &containerSkipped);
> +                if (o)
> +                    o->computeRectForRepaint(repaintContainer, rect, fixed);
> +            }

Maybe we should instead disable layout state for fixed position elements?

> LayoutTests/fast/repaint/transformed-contents-changed-after-scroll.html:1
> +<html>

It's best to avoid scrollbars in pixel results if you can. You can say overflow:hidden and still scroll programmatically from JS

-- 
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