Make naming of variables consistent with SpecificLayoutInfo (#35104)

This is a followup to #34926.

Fixes #35078.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2025-01-21 18:28:14 +01:00 committed by GitHub
parent a54add0159
commit 102b77aef8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 41 additions and 41 deletions

View file

@ -579,7 +579,7 @@ impl HoistedAbsolutelyPositionedBox {
let mut new_fragment = {
let content_size: LogicalVec2<Au>;
let fragments;
let mut detailed_layout_info: Option<SpecificLayoutInfo> = None;
let mut specific_layout_info: Option<SpecificLayoutInfo> = None;
match &context.contents {
IndependentFormattingContextContents::Replaced(replaced) => {
// https://drafts.csswg.org/css2/visudet.html#abs-replaced-width
@ -648,7 +648,7 @@ impl HoistedAbsolutelyPositionedBox {
block: block_size,
};
fragments = independent_layout.fragments;
detailed_layout_info = independent_layout.detailed_layout_info;
specific_layout_info = independent_layout.specific_layout_info;
},
};
@ -696,7 +696,7 @@ impl HoistedAbsolutelyPositionedBox {
// elements are not inflow.
CollapsedBlockMargins::zero(),
)
.with_detailed_layout_info(detailed_layout_info)
.with_specific_layout_info(specific_layout_info)
};
positioning_context.layout_collected_children(layout_context, &mut new_fragment);