Closed Bug 1866836 Opened 6 months ago Closed 6 months ago

Preparation to fix table available block-size

Categories

(Core :: Layout: Tables, task)

task

Tracking

()

RESOLVED FIXED
122 Branch
Tracking Status
firefox122 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

Details

Attachments

(2 files)

This bug is a preparation / refactor to fix bug 1648947. These patches do not change behavior.

Before this patch, we get available block-size in Reflow() and available
inline-size in ReflowTable(). Then we adjust them in TableReflowInput's
constructor. This patch moves all the computation into TableReflowInput's
constructor.

This is a preparation for bug 1863421, and doesn't change behavior.

In Bug 1863421, we'll apply ApplySkipSides() for borderPadding. This patch
ensures we use the correct skipped border and padding everywhere.

This patch doesn't change behavior.

Depends on D194788

Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/845986cc0a8d
Part 1 - Consolidate available size computation in TableReflowInput's constructor. r=layout-reviewers,emilio
https://hg.mozilla.org/integration/autoland/rev/90d0849cf4a3
Part 2 - Pass border and padding down from nsTableFrame::Reflow(). r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Regressions: 1867916
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: