mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Move IndependentFormattingContext::as_replaced to IndependentFormattingContextContents
This commit is contained in:
parent
b66dd66403
commit
b53959d23d
4 changed files with 32 additions and 19 deletions
|
@ -556,7 +556,7 @@ fn layout_atomic(
|
|||
start_corner += &relative_adjustement(&atomic.style, ifc.containing_block)
|
||||
}
|
||||
|
||||
let fragment = match atomic.as_replaced() {
|
||||
let fragment = match atomic.contents.as_replaced() {
|
||||
Ok(replaced) => {
|
||||
let size =
|
||||
replaced.used_size_as_if_inline_element(ifc.containing_block, &atomic.style, &pbm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue