[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
Wed Feb 13 21:58:42 PST 2013


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





--- Comment #37 from Tien-Ren Chen <trchen at chromium.org>  2013-02-13 22:00:57 PST ---
(In reply to comment #36)
> Could you try moving the call into setPageScaleFactor()?  This seems like a more indirect way of achieving the same thing.

I think visibleContentsResized is the right place, since settings()->fixedElementsLayoutRelativeToFrame() == true means fixed-position elements should stick to the visible content rect. This is the perfect single place to add this check rather than adding it everywhere that can potentially change the visible content size.

The bug title may not accurately describe what this patch does, but it reflects a user-visible bug, and the test reproduces the bug well.

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