mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Fix servo build.
This commit is contained in:
parent
f6b6465ec6
commit
44ae191e72
4 changed files with 23 additions and 35 deletions
|
@ -763,7 +763,7 @@ impl Fragment {
|
|||
let background_size =
|
||||
get_cyclic(&style.get_background().background_size.0, i).clone();
|
||||
let size = match background_size {
|
||||
BackgroundSize::Explicit { width, height } => Size2D::new(
|
||||
BackgroundSize::ExplicitSize { width, height } => Size2D::new(
|
||||
width
|
||||
.to_used_value(bounding_box_size.width)
|
||||
.unwrap_or(bounding_box_size.width),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue