mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename ReplacedContent::used_size to used_size_as_if_inline_element
This commit is contained in:
parent
e86222d6bb
commit
14ddf39215
3 changed files with 8 additions and 5 deletions
|
@ -465,7 +465,7 @@ fn layout_atomic<'box_tree>(
|
|||
|
||||
let fragment = match atomic.as_replaced() {
|
||||
Ok(replaced) => {
|
||||
let size = replaced.used_size(ifc.containing_block, &atomic.style);
|
||||
let size = replaced.used_size_as_if_inline_element(ifc.containing_block, &atomic.style);
|
||||
let fragments = replaced.make_fragments(&atomic.style, size.clone());
|
||||
let content_rect = Rect { start_corner, size };
|
||||
BoxFragment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue