WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
Bug 107656
Coordinated Graphics: CoordinatedLayerTreeHost::sizeDidChange uses the size in css unit, not device unit.
https://bugs.webkit.org/show_bug.cgi?id=107656
Summary
Coordinated Graphics: CoordinatedLayerTreeHost::sizeDidChange uses the size i...
Dongseong Hwang
Reported
2013-01-23 03:10:56 PST
CoordinatedLayerTreeHost::sizeDidChange set the size of WebPage to GraphicsLayer, and the size is in device units. void CoordinatedLayerTreeHost::sizeDidChange(const WebCore::IntSize& newSize) { if (m_rootLayer->size() == newSize) return; m_rootLayer->setSize(newSize); // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed // for those newly exposed areas. FloatSize oldSize = m_nonCompositedContentLayer->size(); m_nonCompositedContentLayer->setSize(newSize); ... } But all other child layer has the size in css unit. I don't find any artifact yet, because TBS paints entire contents for non composited layer. But it is a potential bug. In addition, I'm not sure if WebPage should use the size in device unit.
Attachments
Add attachment
proposed patch, testcase, etc.
Dongseong Hwang
Comment 1
2013-01-23 03:56:31 PST
I think it may be related to
Bug 104906
Dongseong Hwang
Comment 2
2013-03-10 20:01:43 PDT
Bug 111407
works in progress about refactoring CoordinatedLayerTreeHost::sizeDidChange.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug