[Webkit-unassigned] [Bug 77557] [chromium] GraphicsLayerChromium does not respect initial page scale

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 10:14:47 PST 2012


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





--- Comment #6 from Sami Kyostila <skyostil at google.com>  2012-02-10 10:14:47 PST ---
Ok, I figured out what was up with the failing test. The page scale is affecting the scroll bars and they are getting scaled after being drawn, causing some filtering artifacts. First I thought this caused by some GTK theme weirdness on my machine but that was a red herring.

Currently the overflow control layers (scroll bars) are configured appliesPageScale=false. This is a signal to GraphicsLayerChromium to configure the underlying LayerChromium with a content scale to implement the actual page scale.

However, since the LayerChromium content scale is only updated when 1) the layer transform changes or 2) the page scale for the layer or a parent of it changes, the content scale never ends up getting set for the overflow controls layer and the scroll bars look as they should.

My change was to always apply the content scale for GraphicsLayerChromium, and this broke the scroll bars since they were now scaled.

I've now revised the patch to set appliesPageScale=true for overflow controls and made sure changing that flag is properly reflected in LayerChromium and onwards.

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