[XBL] SVG defining traits on bindings

Hi.

This is a last call comment from the SVG WG on the XBL 2 Editor’s Draft
(dated 12 January 2007).

In SVG 1.2 Full, we want to be able to define “traits” on bound
elements.  These will allow custom elements to be animatable with SMIL
animation elements.  An example of the syntax we wish to use is:

  <xbl:binding element="ex|star">
    <xbl:template>
      <path …/>
    </xbl:template>
    <traitDef namespace="" name="cx"
              valueType="http://www.w3.org/2000/svg#SVGLength"/>
    <traitDef namespace="" name="cy"
              valueType="http://www.w3.org/2000/svg#SVGLength"/>
    <traitDef namespace="" name="r"
              valueType="http://www.w3.org/2000/svg#SVGLength"/>
    <traitDef namespace="" name="points"
              valueType="http://www.w3.org/2000/svg#SVGNumber"/>
  </xbl:binding>

The SVG WG wishes to confirm that there is nothing in XBL 2.0 that would
preclude us from defining the traitDef element in this manner (see
http://www.w3.org/TR/2004/WD-SVG12-20041027/binding.html#traitDef-element).
If there is something that would preclude this, we request that it be
changed so that this is allowed.

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 Saturday, 13 January 2007 00:27:44 UTC