Bug 20171

Summary: [XBL] Add <binding> 'element' attribute
Product: WebKit Reporter: Julien Chaffraix <jchaffraix>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
First draft
none
Just add the 'element' attribute without the handling eric: review+

Description Julien Chaffraix 2008-07-25 11:34:25 PDT
A way of attaching bindings is through the <binding> 'element' attribute that represents a Selector to apply to the bound document.
Comment 1 Julien Chaffraix 2008-07-25 11:39:00 PDT
Created attachment 22475 [details]
First draft

This is a first try:

- we add the potential bindings to the bound document so that we could apply the Selector efficiently.
- the binding attachment is postponed until the document is fully parsed (that is we just have to apply the Selector once).

Comments are welcome.
Comment 2 Julien Chaffraix 2008-07-28 10:10:08 PDT
Created attachment 22522 [details]
Just add the 'element' attribute without the handling

The approach taken was not the right one so I will just add the 'element' and postpone the 'element' handling for another bug.
Comment 3 Eric Seidel (no email) 2008-07-28 13:51:14 PDT
Comment on attachment 22522 [details]
Just add the 'element' attribute without the handling

LGTM.
Comment 4 Julien Chaffraix 2008-07-28 14:16:33 PDT
Landed in r35412.