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


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

--

Legend:

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

    v2 v3  
    4141
    4242* transforms?
     43
    4344* RenderText vs inline text boxes?
     45
    4446* xpos / ypos ? have been replaced by accumulated offsets - how do these relate to absolute positioning?
     47
    4548* logical vs. physical coordinate spaces (e.g., RTL - does x mean "from left" or "from start")?
     49
    4650* painting the line box tree
    4751
     
    4953
    5054* done in two separate parts of the tree, one for html/css, one for svg
     55
    5156* for html/css, done in RenderLayer - the layer handles transforms, masking, clipping, etc. RenderObjects are supposed to be dumb.
     57
    5258* in svg, all of the objects know how to handle transforms intrinsically
    5359
     
    5561
    5662* parts of the render tree are dumb and just contain data (e.g., text nodes) - these don't layout or paint themselves. In this case the containing object creates a list of lines of text (the line box tree) and the containing object may have to deal with RTL direction, ligatures, etc.
     63
    5764* A RenderTextFragment splits off the first letter to handle "first-letter"
     65
    5866* "first-line" is split off into a different InlineText box
    5967