W3C home > Mailing lists > Public > www-svg@w3.org > August 2009

Re: Setting animVal.value?

From: Brian Birtles <birtles@gmail.com>
Date: Wed, 19 Aug 2009 11:29:17 +1000
Message-ID: <65fa1620908181829r61aeca82l2c568d8e75ef2b0a@mail.gmail.com>
To: Cameron McCormack <cam@mcc.id.au>, www-svg <www-svg@w3.org>
2009/8/19 Cameron McCormack <cam@mcc.id.au>
> I think the confusion is about what “when the length corresponds to a
> read only attribute” means.  This is meant to mean when the SVGLength
> object corresponds to a DOM attribute (i.e., an Attr node in the DOM)
> that happens to be read only.  Such read only nodes are mostly
> theoretical, though.  I think they can occur when you have an XML
> document with entity references that the parser has not expanded (but
> which have been fetched).  Descendants of such EntityReference nodes are
> read only.
>
> OK, I think that warrants an explanation in the spec.

Ok, that would be great. I assumed that SVGAnimatedLength.baseVal was
a "readonly attribute" since its definition in IDL is:

  readonly attribute SVGLength baseVal;

Cheers,

Brian
Received on Wednesday, 19 August 2009 01:29:53 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:43 GMT