RE: Read-only attributes

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 UTC