Because horizontal alignment of inline frames can change their widths, absolute children of relatively positioned inlines should be reflowed after horizontal alignment. nsLineLayout::RelativePositionFrames would be a good place to do this; we can't do it any later, because we need to compute the correct overflow area in that method. Also, if we do this, then line layout does not need to record the overflow area of frames or spans in the per-frame or per-span structures, because all overflow areas will be entirely computed on the fly in RelativePositionFrames. This will save space and simplify code. See http://bugzilla.mozilla.org/show_bug.cgi?id=252771#c6
*** Bug 255138 has been marked as a duplicate of this bug. ***
See also bug 5016 comment 19 and following (though that's subsumed and superceded by comment 0 here, I think).
8 years ago