mirror of
https://github.com/servo/servo.git
synced 2025-07-23 23:33:43 +01:00
layout: Refactor Flow::from_fragment
-style constructors to be
consistent.
This commit is contained in:
parent
e888b76534
commit
be252371ea
11 changed files with 35 additions and 15 deletions
|
@ -382,7 +382,7 @@ impl FlexFlow {
|
|||
}
|
||||
|
||||
FlexFlow {
|
||||
block_flow: BlockFlow::from_fragment(fragment, flotation),
|
||||
block_flow: BlockFlow::from_fragment_and_float_kind(fragment, flotation),
|
||||
main_mode: main_mode,
|
||||
available_main_size: AxisSize::Infinite,
|
||||
available_cross_size: AxisSize::Infinite,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue