mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
use app unit in box_fragement (#32349)
This commit is contained in:
parent
66edef8065
commit
26c585a0c5
20 changed files with 273 additions and 289 deletions
|
@ -279,7 +279,7 @@ impl ReplacedContent {
|
|||
style: style.clone(),
|
||||
rect: LogicalRect {
|
||||
start_corner: LogicalVec2::zero(),
|
||||
size: size.into(),
|
||||
size,
|
||||
},
|
||||
image_key,
|
||||
})
|
||||
|
@ -291,7 +291,7 @@ impl ReplacedContent {
|
|||
style: style.clone(),
|
||||
rect: LogicalRect {
|
||||
start_corner: LogicalVec2::zero(),
|
||||
size: size.into(),
|
||||
size,
|
||||
},
|
||||
image_key: video.image_key,
|
||||
})],
|
||||
|
@ -303,7 +303,7 @@ impl ReplacedContent {
|
|||
browsing_context_id: iframe.browsing_context_id,
|
||||
rect: LogicalRect {
|
||||
start_corner: LogicalVec2::zero(),
|
||||
size: size.into(),
|
||||
size,
|
||||
},
|
||||
})]
|
||||
},
|
||||
|
@ -337,7 +337,7 @@ impl ReplacedContent {
|
|||
style: style.clone(),
|
||||
rect: LogicalRect {
|
||||
start_corner: LogicalVec2::zero(),
|
||||
size: size.into(),
|
||||
size,
|
||||
},
|
||||
image_key,
|
||||
})]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue