Auto merge of #26075 - servo:facepalm, r=jdm

Don’t forget to apply the inline-start margin to blocks 🤦
This commit is contained in:
bors-servo 2020-03-31 17:44:51 -04:00 committed by GitHub
commit 75ca3d8198
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
388 changed files with 50 additions and 742 deletions

View file

@ -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,