Hi. It doesn’t seem to be specified in DOM 3 Core what exception code should be used when the DOMException is thrown for this document: <html> <head><title>insertBefore test</title></head> <body> <div id='d1'><div id='d2'></div></div> <script> d1 = document.getElementById('d1'); d2 = d1.firstChild; d2.insertBefore(d1, document.documentElement); </script> </body> </html> Both HIERARCHY_REQUEST_ERR and NOT_FOUND_ERR are applicable. Is it worth specifying? Thanks, Cameron -- Cameron McCormack, http://mcc.id.au/ xmpp:heycam@jabber.org ▪ ICQ 26955922 ▪ MSN cam@mcc.id.auReceived on Monday, 30 April 2007 03:54:33 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:58 GMT