aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/positioned.rs
diff options
context:
space:
mode:
authorOriol Brufau <obrufau@igalia.com>2024-08-31 01:39:18 +0200
committerGitHub <noreply@github.com>2024-08-30 23:39:18 +0000
commit3acc9edd82ce159a356bd88a26fd37b2b39d6a44 (patch)
treea1465b2ab25e65fc59061817faa08550d0828ec0 /components/layout_2020/positioned.rs
parent4ae2610c24bfbd7acabf7ff327cf97d6df55c06f (diff)
downloadservo-3acc9edd82ce159a356bd88a26fd37b2b39d6a44.tar.gz
servo-3acc9edd82ce159a356bd88a26fd37b2b39d6a44.zip
Fix various issues with replaced elements in flex layout (#33263)
In particular, this takes into account that flex items may be stretched, and if they have an aspect ratio, we ma6y need to convert the stretched size through the ratio. Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/layout_2020/positioned.rs')
-rw-r--r--components/layout_2020/positioned.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/layout_2020/positioned.rs b/components/layout_2020/positioned.rs
index 433c9a4827f..10f86fea676 100644
--- a/components/layout_2020/positioned.rs
+++ b/components/layout_2020/positioned.rs
@@ -499,7 +499,6 @@ impl HoistedAbsolutelyPositionedBox {
let used_size = replaced.contents.used_size_as_if_inline_element(
&containing_block.into(),
&replaced.style,
- None,
&pbm,
);
LogicalVec2 {