Open Bug 419508 Opened 16 years ago Updated 2 years ago

Make frame's Reflow responsible for setting its own mRect width/height

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: fantasai.bugs, Unassigned)

Details

GetOverflowRect() right now sometimes returns bogus data while the frame is in reflow because
  1. it uses mRect as a space optimization when mRect == overflowRect
  2. the overflow rect is set when overflowRect != aDesiredSize
  3. aDesiredSize != mRect until the frame's parent sets its size+position

This is a bit silly, so if it's possible, I think we should either make Reflow responsible for setting the frame's width and height directly (so it can set mRect and overflowRect at the same time) or make the parent responsible for setting both mRect and the overflowRect.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.