mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
layout: Move sizing logic from geom.rs to sizing.rs (#38568)
Moves `Size`, `SizeConstraint`, `Sizes` and `LazySizeData`. Testing: Not needed, no change in behavior. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
d5d3ad6949
commit
7ff8724eaf
12 changed files with 559 additions and 557 deletions
|
@ -42,7 +42,8 @@ use servo_arc::Arc as ServoArc;
|
|||
use style::logical_geometry::WritingMode;
|
||||
use style::properties::ComputedValues;
|
||||
|
||||
use crate::geom::{LogicalVec2, SizeConstraint};
|
||||
use crate::geom::LogicalVec2;
|
||||
use crate::sizing::SizeConstraint;
|
||||
use crate::style_ext::AspectRatio;
|
||||
|
||||
/// At times, a style is "owned" by more than one layout object. For example, text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue