mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 06:18:38 +09:00
Issue #1916 - Part 3: Sticky/relative position fixes in nsTableWrapperFrame.
Backported from Mozilla bug 1472602. Didn't include the change in StickyScrollContainer.cpp because it breaks linking to libxul.so in the end. It's not important anyway.
This commit is contained in:
parent
797ddb4d88
commit
5dc15ae641
1 changed files with 2 additions and 1 deletions
|
|
@ -1025,7 +1025,7 @@ nsTableWrapperFrame::Reflow(nsPresContext* aPresContext,
|
|||
captionSize, captionMargin, captionOrigin, wm);
|
||||
FinishReflowChild(mCaptionFrames.FirstChild(), aPresContext, *captionMet,
|
||||
captionRI.ptr(), wm, captionOrigin, containerSize,
|
||||
ReflowChildFlags::Default);
|
||||
ReflowChildFlags::ApplyRelativePositioning);
|
||||
captionRI.reset();
|
||||
}
|
||||
// XXX If the bsize is constrained then we need to check whether
|
||||
|
|
@ -1034,6 +1034,7 @@ nsTableWrapperFrame::Reflow(nsPresContext* aPresContext,
|
|||
LogicalPoint innerOrigin(wm);
|
||||
GetInnerOrigin(captionSide, containSize, captionSize, captionMargin,
|
||||
innerSize, innerMargin, innerOrigin, wm);
|
||||
// NOTE: Relative positioning on the table applies to the whole table wrapper.
|
||||
FinishReflowChild(InnerTableFrame(), aPresContext, innerMet, innerRI.ptr(),
|
||||
wm, innerOrigin, containerSize, ReflowChildFlags::Default);
|
||||
innerRI.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue