Gecko:Reflow Refactoring: Difference between revisions

m
typo
m (typo)
Line 2: Line 2:


Reflow refactoring is the name for two related changes currently being worked on mainly by [[User:Dbaron|dbaron]]:
Reflow refactoring is the name for two related changes currently being worked on mainly by [[User:Dbaron|dbaron]]:
* Change intrinsic width computation so that it happens in separate methods on nsIFrame.  (Currently preferred with calculation using the nsIFrame API can happen in two different ways as well:  having only one codepath reduces incremental layout ("{inc}") bugs.)
* Change intrinsic width computation so that it happens in separate methods on nsIFrame.  (Currently preferred width calculation using the nsIFrame API can happen in two different ways as well:  having only one codepath reduces incremental layout ("{inc}") bugs.)
* Change the way we handle incremental layout to use dirty bits on the frames rather than the reflow tree (which is essentially out-of-line dirty bits) and a complicated system of reflow reasons that often leads to weird incremental layout ("{inc}") bugs.
* Change the way we handle incremental layout to use dirty bits on the frames rather than the reflow tree (which is essentially out-of-line dirty bits) and a complicated system of reflow reasons that often leads to weird incremental layout ("{inc}") bugs.


28

edits