canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,334
edits
(→Design) |
|||
| Line 95: | Line 95: | ||
=== Intrinsic Sizing === | === Intrinsic Sizing === | ||
The ability to determine intrinsic widths using the Reflow method has been removed. | |||
Four new methods are being added to <code>nsIFrame</code> for intrinsic width calculation. <code>GetMinWidth</code> and <code>GetPrefWidth</code> simply return the minimum/preferred width of the frame. <code>AddInlineMinWidth</code> and <code>AddInlinePrefWidth</code> are used to build up intrinsic width information for inline layout, where we need to accumulate information for whatever could be on the same line. These special methods for inline layout are needed since multiple frames can be on one line, and one frame could be [[Gecko:Continuations|split into multiple frames]] across multiple lines. | |||
Interesting issues: | Interesting issues: | ||