mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Don’t forget to apply the inline-start margin to blocks 🤦
This commit is contained in:
parent
234c8557ed
commit
8350f8a08a
388 changed files with 50 additions and 742 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue