mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Split stacking context fragments into sections in layout_2020
This allows rendering stacking context content in the proper order. We also need to add a new pseudo stacking context for atomic inlines in order to preserve proper rendering order in some cases.
This commit is contained in:
parent
13ff7ce621
commit
9517190a60
4 changed files with 80 additions and 33 deletions
|
@ -191,7 +191,7 @@ impl FragmentTreeRoot {
|
|||
);
|
||||
}
|
||||
|
||||
stacking_context.sort_stacking_contexts();
|
||||
stacking_context.sort();
|
||||
stacking_context.build_display_list(builder);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue