If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Reflow absolute children of relative positioned inlines during nsLineLayout::RelativePositionFrames

NEW
Unassigned

Status

()

Core
Layout
13 years ago
11 months ago

People

(Reporter: roc, Unassigned)

Tracking

(Blocks: 5 bugs)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

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).
Blocks: 5016
Assignee: roc → nobody
Blocks: 489100
You need to log in before you can comment on or make changes to this bug.