Changes between Version 2 and Version 3 of LayoutAndRendering


Ignore:
Timestamp:
Oct 7, 2009 2:49:59 PM (15 years ago)
Author:
alex@milowski.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LayoutAndRendering

    v2 v3  
    55 *  Your implementation of `RenderObject::layout()` should guarantee that object and its descendants do not need '''any''' layout when you leave the method.
    66 *  In your `RenderObject::layout()` method, add a `ASSERT(needsLayout())` at the beginning and a `setNeedsLayout(false)` at the end.
     7 *  If your render object needs to access DOM attributes and use them to set properties or construct other objects in the tree, you need to use ''mapped attributes'' or `updateFromElement` to control such behavior.