Skip to content

Commit

Permalink
Ensure reference frame is popped in layout 2020
Browse files Browse the repository at this point in the history
closes: #26066
  • Loading branch information
dralley committed Mar 31, 2020
1 parent 5f71be2 commit 814478b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/layout_2020/display_list/stacking_context.rs
Expand Up @@ -522,6 +522,10 @@ impl BoxFragment {
StackingContextBuildMode::SkipHoisted,
);
}

if established_reference_frame {
builder.wr.pop_reference_frame();
}
}

fn adjust_spatial_id_for_positioning(&self, builder: &mut StackingContextBuilder) {
Expand Down

0 comments on commit 814478b

Please sign in to comment.