layout: Make the stacking context take into account the children transform when calculating overflow areas.

This only works for simple translations and similar, but I want Patrick to
validate my approach.
This commit is contained in:
Emilio Cobos Álvarez 2016-08-13 02:36:17 -07:00
parent 49431be44a
commit fd3a99ead3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
5 changed files with 85 additions and 32 deletions

View file

@ -260,7 +260,7 @@ impl WebRenderStackingContextConverter for StackingContext {
builder: &mut webrender_traits::DisplayListBuilder,
frame_builder: &mut WebRenderFrameBuilder,
_force_positioned_stacking_level: bool) {
for child in self.children.iter() {
for child in self.children() {
while let Some(item) = traversal.advance(self) {
item.convert_to_webrender(builder, frame_builder);
}