⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changes between Initial Version and Version 1 of LayoutAndRendering


Ignore:
Timestamp:
Oct 7, 2009, 2:46:01 PM (17 years ago)
Author:
alex@milowski.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LayoutAndRendering

    v1 v1  
     1This documentation is intended to provide developers with a guide to developing rendering objects.
     2
     3= Tips and Techniques =
     4
     5*  Your implementation of `RenderObject::layout()` should guarantee that object and its descendants do not need '''any''' layout when you leave the method.
     6*  In your `RenderObject::layout()` method, add a `ASSERT(needsLayout())` at the beginning and a `setNeedsLayout(false)` at the end.