Changes between Version 3 and Version 4 of April 2012 Write Your Own Render Object


Ignore:
Timestamp:
Apr 20, 2012 2:33:21 PM (9 years ago)
Author:
dpranke@chromium.org
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • April 2012 Write Your Own Render Object

    v3 v4  
    9292  * all in RenderBlockLineLayout - calls out to ICU to figure out where breaks can occur
    9393  * then we measure the widths of the glyphs and determine where we might want to break
    94  
     94* There is also a cache of glyphs so that we can measure each character quickly
     95  * Unclear how this interacts with complex text runs
     96  * also text rendering optimize legibility can through you down the complex text path
     97  *
     98
     99== Implementation Notes ==
     100
     101* everything in the render tree is single ownership (new/delete), not ref counted
     102* per-document memory arenas for quick destruction
     103* there is a single renderer per document rooted at the RenderView
     104* display:none objects have no render objects
     105* each renderer has 0 or 1 pointers to Nodes; renderers with 0 pointers are "anonymous"
     106* you can see the render tree in safari after enabling the internal debug menu and turning off Webkit 2
     107* and of course in the -expected.txt files in the LayoutTests
     108
    95109
    96110