mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix Servo build.
This commit is contained in:
parent
f4cff20649
commit
bbb59614fa
3 changed files with 16 additions and 14 deletions
|
@ -916,9 +916,9 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
get_cyclic(&style.get_background().background_size.0, i).clone();
|
||||
let size = match background_size {
|
||||
BackgroundSize::Explicit { width, height } => Size2D::new(
|
||||
MaybeAuto::from_style(width, bounding_box_size.width)
|
||||
MaybeAuto::from_style(width.0, bounding_box_size.width)
|
||||
.specified_or_default(bounding_box_size.width),
|
||||
MaybeAuto::from_style(height, bounding_box_size.height)
|
||||
MaybeAuto::from_style(height.0, bounding_box_size.height)
|
||||
.specified_or_default(bounding_box_size.height),
|
||||
),
|
||||
_ => bounding_box_size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue