mirror of
https://github.com/servo/servo.git
synced 2025-08-14 18:05:36 +01:00
Image with height defined in % resizes properly
This commit is contained in:
parent
033786cd0d
commit
4a4be1d7e5
8 changed files with 83 additions and 11 deletions
|
@ -88,7 +88,8 @@ impl Flow for ListItemFlow {
|
|||
|
||||
for marker in self.marker_fragments.iter_mut().rev() {
|
||||
let containing_block_inline_size = self.block_flow.base.block_container_inline_size;
|
||||
marker.assign_replaced_inline_size_if_necessary(containing_block_inline_size);
|
||||
let container_block_size = self.block_flow.explicit_block_containing_size(layout_context);
|
||||
marker.assign_replaced_inline_size_if_necessary(containing_block_inline_size, container_block_size);
|
||||
|
||||
// Do this now. There's no need to do this in bubble-widths, since markers do not
|
||||
// contribute to the inline size of this flow.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue