mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
make size of DefiniteContainingBlock use app units (#31369)
This commit is contained in:
parent
7f00661d1c
commit
d5c9e569bf
4 changed files with 27 additions and 18 deletions
|
@ -274,8 +274,8 @@ impl BoxTree {
|
|||
);
|
||||
let initial_containing_block = DefiniteContainingBlock {
|
||||
size: LogicalVec2 {
|
||||
inline: physical_containing_block.size.width,
|
||||
block: physical_containing_block.size.height,
|
||||
inline: physical_containing_block.size.width.into(),
|
||||
block: physical_containing_block.size.height.into(),
|
||||
},
|
||||
style,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue