Cleaning up layout
L. David Baron, master of the layout engine in Mozilla, writes:
Here are a bunch of related things that I'd like to fix in Layout:
Line breaking
Implement the UAX #14 algorithm for line breaking
Storing the results of line breaking and text measurement
Each text frame ought to store an array of
the possible break points in it, and the measurement to reach each one.
Refactoring reflow
I want to split Reflow() into GetMinWidth(), GetPrefWidth(), and
Layout().
Dirty bits
Our current system for meeting the above requirements is quite
complicated.
Frame construction
Something along the lines of CSS3's 'display-role' and 'display-model'
Read the whole posting
September 18, 2003 09:24 PM | Posted in Mozilla
Ads: