diff options
-rw-r--r-- | layout/tables/nsTableWrapperFrame.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layout/tables/nsTableWrapperFrame.cpp b/layout/tables/nsTableWrapperFrame.cpp index abe6bceefb..e87575b2ea 100644 --- a/layout/tables/nsTableWrapperFrame.cpp +++ b/layout/tables/nsTableWrapperFrame.cpp @@ -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(); |