- From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
- Date: Sat, 15 Jan 2005 00:45:33 +1100
- To: www-svg@w3.org
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"> <script> document.documentElement.setAttributeNS(null, "1.1"); var x = document.compareDocumentPosition; </script> </svg> 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 -- Cameron McCormack | Web: http://mcc.id.au/ | ICQ: 26955922
Received on Friday, 14 January 2005 13:45:41 UTC