aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/layout_2020/flow/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/flow/mod.rs b/components/layout_2020/flow/mod.rs
index dcf2f9c4de3..63e96eaef2a 100644
--- a/components/layout_2020/flow/mod.rs
+++ b/components/layout_2020/flow/mod.rs
@@ -486,7 +486,7 @@ fn layout_in_flow_non_replaced_block_level(
let content_rect = Rect {
start_corner: Vec2 {
block: pb.block_start,
- inline: pb.inline_start,
+ inline: pb.inline_start + margin.inline_start,
},
size: Vec2 {
block: block_size,