I'm thinking of trying to simplify the reflow reason/type mechanisms by
replacing the current ones with:
Full
Resize
Descendant (for reflow reason only)
So the reason would be "Descendant" till we get to the target and then get changed to the "type"?
Right now it looks like the "reason" identifies the thing that caused the reflow to be triggered and the "type" identifies what type of reflow is desired, with much confusion between the two. In the end, do we really care about the reason, as long as we know what type of reflow we have to do... The only reason to have "Descendant" is so that you know to not do anything yourself unless the kids do, right?
The initial/full distinction is bogus and I remember seeing it break in
some cases where we move children into a new parent (e.g., {ib} or
:first-line) and the new parent translates a style change reflow to an
initial reflow and breaks the style change on the kids. We have
NS_FRAME_FIRST_REFLOW if we need it.
Agreed. This will require fixing up some frames to deal, but should be done.
-Boris _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
