Open Bug 1998025 Opened 1 month ago Updated 1 month ago

Skip computing offsets, margins, etc. for abspos continuations

Categories

(Core :: Layout: Positioned, task)

task

Tracking

()

People

(Reporter: TYLin, Unassigned)

References

(Blocks 1 open bug)

Details

We compute various abspos constraints in ReflowInput [1], and after AbsoluteContainingBlock reflows the frame [2].

[1] https://searchfox.org/firefox-main/rev/1a8c62b86277005f907151bc5389cf5c5091e76f/layout/generic/ReflowInput.cpp#1676
[2] https://searchfox.org/firefox-main/rev/1a8c62b86277005f907151bc5389cf5c5091e76f/layout/generic/AbsoluteContainingBlock.cpp#1268-1290

The question is: do we need compute them for abspos continuations? Can those values carry over from the first-in-flow?

Summary: Investigate if we can skip computing offsets, margins, etc. for abspos continuations → Skip computing offsets, margins, etc. for abspos continuations
You need to log in before you can comment on or make changes to this bug.