diff options
author | Martin Robinson <mrobinson@igalia.com> | 2020-05-11 14:56:35 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2020-05-11 15:03:29 +0200 |
commit | a637810df39b05dd46c521ffdfba5ab66483520c (patch) | |
tree | 69ddd8b4aba23f0c64aed8e86ad25ec52000b95d /components/layout_2020/flow | |
parent | 4d541e8e381e3b3388dd1d1378d147e22197b11d (diff) | |
download | servo-a637810df39b05dd46c521ffdfba5ab66483520c.tar.gz servo-a637810df39b05dd46c521ffdfba5ab66483520c.zip |
layout_2020: Add support for transform-style
This requires creating a matching stacking context for every reference
frame and also properly placing those stacking contexts inside them.
Diffstat (limited to 'components/layout_2020/flow')
-rw-r--r-- | components/layout_2020/flow/root.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/root.rs b/components/layout_2020/flow/root.rs index adbcb26d4c9..09b5b95bb98 100644 --- a/components/layout_2020/flow/root.rs +++ b/components/layout_2020/flow/root.rs @@ -196,7 +196,7 @@ impl BoxTreeRoot { impl FragmentTreeRoot { pub fn build_display_list(&self, builder: &mut crate::display_list::DisplayListBuilder) { - let mut stacking_context = StackingContext::create_root(); + let mut stacking_context = StackingContext::create_root(&builder.wr); { let mut stacking_context_builder = StackingContextBuilder::new(&mut builder.wr); let containing_block_info = ContainingBlockInfo { |