WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
62333
[Meta] Refactor SVG Shadow Content to be RenderTree-based, not DOM-based
https://bugs.webkit.org/show_bug.cgi?id=62333
Summary
[Meta] Refactor SVG Shadow Content to be RenderTree-based, not DOM-based
Dimitri Glazkov (Google)
Reported
2011-06-08 15:15:55 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2019-10-04 22:32:56 PDT
Not gonna do this.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug