mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
use app unit in replaced elements (#31178)
* use app unit in replaced elements * more app unit usage * Avoid unnecessary into() * Run ./mach fmt * use scaleby * update --------- Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
271176094d
commit
091653417a
6 changed files with 82 additions and 70 deletions
|
@ -1082,7 +1082,7 @@ impl<'a> FlexItem<'a> {
|
|||
let cross_size = flex_context.vec2_to_flex_relative(size.clone()).cross;
|
||||
let fragments = replaced.contents.make_fragments(&replaced.style, size);
|
||||
FlexItemLayoutResult {
|
||||
hypothetical_cross_size: cross_size,
|
||||
hypothetical_cross_size: cross_size.into(),
|
||||
fragments,
|
||||
positioning_context,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue