Re: Setting animVal.value?

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 UTC