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:
Martin Robinson 2020-02-14 13:00:18 +01:00
parent 13ff7ce621
commit 9517190a60
4 changed files with 80 additions and 33 deletions

View file

@ -191,7 +191,7 @@ impl FragmentTreeRoot {
);
}
stacking_context.sort_stacking_contexts();
stacking_context.sort();
stacking_context.build_display_list(builder);
}