For the example of google news, one of the fixed position layer is under
another fixed layer, and it is not updated for scrolling.
The CSS value did change, but we don't have a updated fixed position call.
Moving the update to sync time fix this issue.
bug:
3486524
Change-Id: Iecb65b37d06e65902511e569238546b49b1dcd47
this, point.x(), point.y(), m_position.x(), m_position.y(),
m_anchorPoint.x(), m_anchorPoint.y(), m_size.width(), m_size.height());
#endif
- updateFixedPosition();
m_contentLayer->setPosition(pos.x(), pos.y());
askForSync();
}
MLOG("(%x) setSize (%.2f,%.2f)", this, size.width(), size.height());
GraphicsLayer::setSize(size);
m_contentLayer->setSize(size.width(), size.height());
- updateFixedPosition();
askForSync();
}
m_children[i]->syncCompositingState();
updateScrollingLayers();
+ updateFixedPosition();
syncChildren();
syncMask();