[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
Tue Feb 5 12:26:54 PST 2013


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


Tony Chang <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at chromium.org




--- Comment #31 from Tony Chang <tony at chromium.org>  2013-02-05 12:29:00 PST ---
(In reply to comment #30)
> One reason is because there is no reliable way to completely hide scrollbar on Mac. Setting <body style="overflow:hidden"> won't work when a page is scaled, and the Mac doesn't support -webkit-scrollbar. Being unable to hide scrollbar, the visible content size becomes an odd number (785, 585), and rounding errors come up when page is scaled, making it impossible to write a ref-test that works.

You could try to use overflow:overlay, which should draw scrollbars that don't take up space.


> Another reason is that Mac seems to treat visibleContentRect differently. When I ran the test on a Macbook, FrameView::visibleContentsResized() wasn't called when setPageScaleFactor is called.

I don't know enough about this code or whether this is a bug or not.

> I don't usually make tests platform-specific, but the Mac port simply works too differently in this case.

Please mention the reasons for a platform specific test in the ChangeLog.

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