mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
script: Manage <iframe>
sizes in Window
(#34643)
Manage `<iframe>` size updates in `Window`. In addition to removing duplicated code, this will allow setting `<iframe>` sizes synchronously on child `Pipeline`s of the same origin in the script process in a followup change. The goal is remove flakiness from `<iframe>` sizing. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
eb82161a8a
commit
3e052676ef
18 changed files with 165 additions and 200 deletions
|
@ -1987,8 +1987,11 @@ impl FlexItem<'_> {
|
|||
}
|
||||
}
|
||||
|
||||
let fragments = replaced
|
||||
.make_fragments(item_style, size.to_physical_size(container_writing_mode));
|
||||
let fragments = replaced.make_fragments(
|
||||
flex_context.layout_context,
|
||||
item_style,
|
||||
size.to_physical_size(container_writing_mode),
|
||||
);
|
||||
|
||||
Some(FlexItemLayoutResult {
|
||||
hypothetical_cross_size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue