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

Re: This might be a stupid question...

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Sat, 15 Jan 2005 00:45:33 +1100
To: www-svg@w3.org
Message-ID: <20050114134533.GK31128@port.mcc.id.au>

Cameron McCormack:
> >After clicking the rect, is the document in error?

Dean Jackson:
> My thinking is that it is error. This is the same
> as a script adding an element that doesn't exist, or
> as a child of an element that can't contain it, or
> doing something else that is equally bad.
> Do you agree?

Seems like reasonable behaviour to me.  I just worry though about
interfaces having to change.  For example, SVG 1.2 requires DOM 3 while
SVG 1.1 DOM 2.

  <svg xmlns="http://www.w3.org/2000/svg" version="1.2">
      document.documentElement.setAttributeNS(null, "1.1");
      var x = document.compareDocumentPosition;

Should the x variable be undefined or a function
(compareDocumentPosition being a method on the Node interface in DOM
Level 3 but not in DOM Level 2)?  Is DOM Level 3 a superset of DOM Level
2?  There are probably also some similar issue wrt the SVG DOM.


Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Friday, 14 January 2005 13:45:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:01 UTC