Bug 20364

Summary: [XBL] Add shadow tree rendering
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Enhancement CC: dglazkov, eric, ml
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 20263    
Bug Blocks:    
Attachments:
Description Flags
First try: add rendering code following SVGUseElement example eric: review-

Julien Chaffraix
Reported 2008-08-12 15:56:50 PDT
Currently, we do not generate the shadow tree's renderer from <template>'s children. Patch will follow.
Attachments
First try: add rendering code following SVGUseElement example (12.48 KB, patch)
2008-08-12 16:12 PDT, Julien Chaffraix
eric: review-
Julien Chaffraix
Comment 1 2008-08-12 16:12:50 PDT
Created attachment 22759 [details] First try: add rendering code following SVGUseElement example
Eric Seidel (no email)
Comment 2 2008-08-12 16:56:56 PDT
Comment on attachment 22759 [details] First try: add rendering code following SVGUseElement example This check looks wrong: f (templateElement->attached()) tempalteElement is in the xbl doc, no? this one doens't need braces: if (node->hasTagName(XBLNames::templateTag)) { Otherwise looks fine. r- for the worng check. I don't need to see this again, if you can convince me over IRC that you've put the right check in instead of the templateElement thing... well, and I guess you should add a test case too! :)
Julien Chaffraix
Comment 3 2008-08-18 07:56:33 PDT
(In reply to comment #2) > (From update of attachment 22759 [details] [edit]) > This check looks wrong: > f (templateElement->attached()) > > tempalteElement is in the xbl doc, no? Yes. However we cannot say whether it was attached or not, so that's why we need to detach it before reattaching its children at the right place. If we do not do that, we will hit some ASSERT while attaching the children. > this one doens't need braces: > if (node->hasTagName(XBLNames::templateTag)) { Right (silly mistake on my side which will be corrected before landing).
Julien Chaffraix
Comment 4 2008-11-11 17:15:03 PST
Eric, could you tell me whether you are ok with the comment and the approach taken? This only adds the rendering for inline XBL document and will need more thoughts to work when the binding document and the bound document are different.
Dimitri Glazkov (Google)
Comment 5 2011-01-22 10:27:55 PST
We ripped this code out and a new implementation is under way.
Note You need to log in before you can comment on or make changes to this bug.