W3C home > Mailing lists > Public > www-svg@w3.org > January 2003

RE: Read-only attributes

From: Thierry Kormann <tkormann@ilog.fr>
Date: Tue, 21 Jan 2003 23:46:56 +0100
To: "Niklas Gustavsson" <niklas@protocol7.com>, <www-svg@w3.org>
Message-ID: <EGECJAFKOPPEMLJGHNDNOEGFEEAA.tkormann@ilog.fr>


Hi,

My understanding is that readonly is only applicable to the property value
itself. I mean:

myLine.x1 = myLine.x2; // wrong!
myline.x1.baseVal.value = 10; // correct!

Thierry.

> > Some time ago we had this discussion on svg-developers (see for example
> > http://groups.yahoo.com/group/svg-developers/message/22727,
> > http://groups.yahoo.com/group/svg-developers/message/22729,
> > http://groups.yahoo.com/group/svg-developers/message/22744) and

> >
> > The question was basically: when a property is read-only, for example
> > SVGLineElement.x1, is it allowed to do:
> > myLine.x1.baseVal.value = 10
> > or does the read-only "inherit" all the way down?
Received on Tuesday, 21 January 2003 17:47:31 GMT

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