Closed
Bug 1879371
Opened 11 months ago
Closed 11 months ago
Add a helper for placing repeated table footer
Categories
(Core :: Layout: Tables, task)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
124 Branch
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(2 files)
We have this piece of code repeated in nsTableFrame::ReflowChildren
five times. It would be nice to add a helper for it.
if (allowRepeatedFooter) {
PlaceRepeatedFooter(aReflowInput, tfoot, footerBSize);
} else if (tfoot && tfoot->IsRepeatable()) {
tfoot->SetRepeatable(false);
}
Assignee | ||
Comment 1•11 months ago
|
||
Updated•11 months ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•11 months ago
|
||
This patch shouldn't change behavior. There was a callsite missed
SetRepeatable(false)
when the repeated table footer is not allowed, but I
think it was an oversight rather than intentional.
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2ad5f692c7a6
Part 1 - Move a comment closer to its code in nsTableFrame::ReflowChildren(). r=jwatt
https://hg.mozilla.org/integration/autoland/rev/eb96f3043bf6
Part 2 - Add a helper for placing repeated table footer avoid code duplication. r=jwatt
Comment 4•11 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/2ad5f692c7a6
https://hg.mozilla.org/mozilla-central/rev/eb96f3043bf6
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•