RESOLVED FIXED 106961
Add the ability for a RenderLayerBacking to have a layer that renders backgrounds.
https://bugs.webkit.org/show_bug.cgi?id=106961
Summary Add the ability for a RenderLayerBacking to have a layer that renders backgro...
Simon Fraser (smfr)
Reported 2013-01-15 17:02:52 PST
Add the ability for a RenderLayerBacking to have a layer that renders backgrounds.
Attachments
Patch (17.80 KB, patch)
2013-01-15 17:40 PST, Simon Fraser (smfr)
dino: review+
Simon Fraser (smfr)
Comment 1 2013-01-15 17:40:23 PST
Dean Jackson
Comment 2 2013-01-15 17:58:02 PST
Comment on attachment 182885 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=182885&action=review > Source/WebCore/ChangeLog:8 > + In some cases we need a compositing layer to renders its background into missing words near "to renders" > Source/WebCore/rendering/RenderLayerBacking.cpp:759 > + FloatSize backgroundSize = contentsSize; > + IntSize backgroundOffset = m_graphicsLayer->offsetFromRenderer(); > + m_backgroundLayer->setPosition(FloatPoint()); > + if (backgroundSize != m_backgroundLayer->size()) { > + m_backgroundLayer->setSize(backgroundSize); Why do you need the local variable backgroundSize?
Simon Fraser (smfr)
Comment 3 2013-01-15 18:00:27 PST
(In reply to comment #2) > > Source/WebCore/rendering/RenderLayerBacking.cpp:759 > > + FloatSize backgroundSize = contentsSize; > > + IntSize backgroundOffset = m_graphicsLayer->offsetFromRenderer(); > > + m_backgroundLayer->setPosition(FloatPoint()); > > + if (backgroundSize != m_backgroundLayer->size()) { > > + m_backgroundLayer->setSize(backgroundSize); > > Why do you need the local variable backgroundSize? This will be used later!
Simon Fraser (smfr)
Comment 4 2013-01-15 18:03:24 PST
Note You need to log in before you can comment on or make changes to this bug.