use app unit in box_fragement (#32349)

This commit is contained in:
atbrakhi 2024-06-21 16:54:21 +02:00 committed by GitHub
parent 66edef8065
commit 26c585a0c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 273 additions and 289 deletions

View file

@ -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,
})]