Last Comment Bug 670311 - Optimize abs pos child insertion/removal
: Optimize abs pos child insertion/removal
Status: NEW
:
Product: Core
Classification: Components
Component: Layout: R & A Pos (show other bugs)
: Trunk
: x86 Mac OS X
: P1 normal with 4 votes (vote)
: ---
Assigned To: Boris Zbarsky [:bz] (still a bit busy)
:
: Jet Villegas (:jet)
Mentors:
http://www.google.com/url?sa=D&q=http...
Depends on: 524925
Blocks: 641340
  Show dependency treegraph
 
Reported: 2011-07-08 21:22 PDT by Boris Zbarsky [:bz] (still a bit busy)
Modified: 2012-07-20 20:03 PDT (History)
16 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Boris Zbarsky [:bz] (still a bit busy) 2011-07-08 21:22:45 PDT
See the proposal at <http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/4b468b2f00c5a18a>.  Summary is:

1)  Abs pos frames are marked as reflow roots.
2)  Deletion of an abs pos frame just updates overflow areas up the tree (hence
    the dependency on bug 524925).
3)  Insertion of an abs pos frame just updates overflow areas up the tree
    (though this could run into issues with auto-offset stuff; in those
    situations we may need to reflow the parent to get the placeholder placed
    correctly).
4)  When reflowing an abs pos frame, update overflow areas up the tree.

We would need to make it ok for reflow roots to change size/position as part of reflow....
Comment 1 Boris Zbarsky [:bz] (still a bit busy) 2011-07-08 21:23:38 PDT
Oh, and I took this for lack of anyone else to foist it on, but people are very welcome to steal this!

Note You need to log in before you can comment on or make changes to this bug.