[Webkit-unassigned] [Bug 70552] iframes seem to occasionally doubly scale or scale incorrectly when pageScaleFactor != 1.0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 27 06:51:21 PDT 2011


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





--- Comment #5 from Fady Samuel <fsamuel at chromium.org>  2011-10-27 06:51:21 PST ---
(In reply to comment #4)
> I believe I have a fix for this:
> 
> Changing:
> 
> documentStyle->setPageScaleTransform(document->page() ? document->page()->pageScaleFactor() : 1); 
> 
> to
> 
> documentStyle->setPageScaleTransform(frame ? frame->frameScaleFactor() : 1);  
> 
> in CSSStyleSelector::styleForDocument
> 
> fixes the issue. Now I just have to come up with an automated layout test for this.

It seems it's difficult to write an automated layout test to repo this issue. I can only repro it in the browser if I reload the page after I set the page scale factor.

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