mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Compute combined area properly
This commit is contained in:
parent
5b4b437bb3
commit
dd21432b23
@ -1033,7 +1033,8 @@ nsInlineReflow::HorizontalAlignFrames(nsRect& aLineBox, PRBool aIsLastLine)
|
||||
void
|
||||
nsInlineReflow::RelativePositionFrames(nsRect& aCombinedArea)
|
||||
{
|
||||
nscoord x0 = 0, y0 = 0, x1 = 0, y1 = 0;
|
||||
nscoord x0 = mLeftEdge, y0 = mTopEdge;
|
||||
nscoord x1 = x0, y1 = y0;
|
||||
nsPoint origin;
|
||||
PerFrameData* pfd = mFrameDataBase;
|
||||
PerFrameData* end = pfd + mFrameNum;
|
||||
|
Loading…
Reference in New Issue
Block a user