Ensure reference frame is popped in layout 2020

closes: #26066
This commit is contained in:
Daniel Alley 2020-03-31 09:37:08 -04:00
parent 5f71be281d
commit 814478bee0

View file

@ -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) {