aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/fragment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout/fragment.rs')
-rw-r--r--components/layout/fragment.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/fragment.rs b/components/layout/fragment.rs
index 8f2d5b83af1..5612a322b95 100644
--- a/components/layout/fragment.rs
+++ b/components/layout/fragment.rs
@@ -1728,6 +1728,7 @@ impl Fragment {
this_info.insertion_point = other_info.insertion_point;
}
self.border_padding.inline_end = next_fragment.border_padding.inline_end;
+ self.margin.inline_end = next_fragment.margin.inline_end;
}
_ => panic!("Can only merge two scanned-text fragments!"),
}