[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 11:31:44 PST 2013


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





--- Comment #30 from Tien-Ren Chen <trchen at chromium.org>  2013-02-05 11:33:50 PST ---
(In reply to comment #29)
> (From update of attachment 186522 [details])
> Why is the new test in platform/chromium when the code change is in WebCore?  Is there a reason that this test won't pass on other platforms?

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.

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 usually make tests platform-specific, but the Mac port simply works too differently in this case.

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