[Webkit-unassigned] [Bug 62333] New: [Meta] Refactor SVG Shadow Content to be RenderTree-based, not DOM-based

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 8 15:15:56 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62333

           Summary: [Meta] Refactor SVG Shadow Content to be
                    RenderTree-based, not DOM-based
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dglazkov at chromium.org
                CC: rwlbuis at gmail.com, zimmermann at kde.org,
                    krit at webkit.org, rolandsteiner at chromium.org,
                    dominicc at chromium.org, jschuh at chromium.org,
                    morrita at google.com
            Blocks: 59824


Per our discussion at the WebKit Contributors conference:

1) blow away current implementation of SVG shadow tree
2) implement clone-boxes: a Node can be represented by any number of
RenderObjects in various places in the tree. These trees can be
constructed either by cloning an existing RenderObject subtree or just
creating it from scratch from DOM (probably easier on the short term)
3) implement SVG shadows using clone-boxes.

This way, when creating an  SVG instance, we actually just create a
rendertree chunk, with node pointers referring the original elements.

Event handling is now crazy-simple. Hit-testing finds a box, then goes
straight to the original element, since it RenderObject::node() is
pointing there.

Similarly with styles, the styles are computed using the original
elements and propagate to the instance rendertree chunks using shared
styles.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list