mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Auto merge of #26072 - dralley:fix-assertion-layout2020, r=mrobinson
Ensure reference frame is popped in layout 2020 closes: #26066 Should be equivalent to https://github.com/servo/servo/pull/26063 for layout2020 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #26066 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___
This commit is contained in:
commit
148c24c29c
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue