Re: [XBL] Bound elements implementing language specific interfaces

Cameron McCormack:
> Hopefully I have clarified in this mail.  The request is for a feature
> that allows a binding to indicate that the UA should implement some
> particular interface(s) on that bound element.  To make a binding that
> implements SVGStylable, for example (which exposes the .style
> attribute), would be a lot of work (reimplementing CSS parsing, etc.).
> Also how would the binding’s implementation interact with the CSS engine
> to get the cascade to work properly?  Surely the UA should get the style
> attribute and perform the CSS processing on the element, if the binding
> is so declared.

We have discussed further the bindings-implementing-interfaces issue in
the SVG WG and have resolved that it is acceptable to leave the
implementation of all desired interfaces up to the binding author.  We
played around with writing a binding to implement the standard SVG
interfaces for graphical elements and found that most things were
possible.  (We’ll raise a separate issue for a feature that needs to be
in XBL for a remaining case, though.)

Thanks,

Cameron
-for the SVG WG

-- 
Cameron McCormack, http://mcc.id.au/
 xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

Received on Tuesday, 6 February 2007 21:44:18 UTC