diff options
Diffstat (limited to 'components/layout/flow/root.rs')
-rw-r--r-- | components/layout/flow/root.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/flow/root.rs b/components/layout/flow/root.rs index a37db54065d..8ad3671032e 100644 --- a/components/layout/flow/root.rs +++ b/components/layout/flow/root.rs @@ -314,7 +314,7 @@ fn construct_for_root_element( let contents = ReplacedContents::for_element(root_element, context) .map_or_else(|| NonReplacedContents::OfElement.into(), Contents::Replaced); - let propagated_data = PropagatedBoxTreeData::default().union(&info.style); + let propagated_data = PropagatedBoxTreeData::default(); let root_box = if box_style.position.is_absolutely_positioned() { BlockLevelBox::OutOfFlowAbsolutelyPositionedBox(ArcRefCell::new( AbsolutelyPositionedBox::construct(context, &info, display_inside, contents), |