WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
20364
[XBL] Add shadow tree rendering
https://bugs.webkit.org/show_bug.cgi?id=20364
Summary
[XBL] Add shadow tree rendering
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-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
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.
Top of Page
Format For Printing
XML
Clone This Bug