W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2008

Re: SVG/profiles/1.2T/test/svg udom-dom-204-t.svg,1.6,1.7

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 2 Oct 2008 17:57:57 +1000
To: public-svg-wg@w3.org
Message-ID: <20081002075757.GA14738@arc.mcc.id.au>

Niklas Hagelroth via cvs-syncmail:
> Modified Files:
> 	udom-dom-204-t.svg 
> Log Message:
> Changed to be a positive test instead of negative

Chris Lilley on #svg:
> why is udom-dom-204-t trying to insert from an invalid document?
> The point of the test is to check insertion. Its better tested with a
> correct document, so you can see it has been inserted

The point of the subtest when I wrote it was to check that
WRONG_DOCUMENT_ERR is thrown when trying to insert an element from a
different document, as required by DOM 3 Core.  (parseXML() was used
because that’s any easy way to get a node from a different document.)
But I recognise that desktop browsers tend not to throw at exception,
and allow nodes to swap documents without calling adoptNode(), so I
don’t mind it being removed/changed.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 2 October 2008 07:58:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 2 October 2008 07:58:37 GMT