W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1999

Question about DOM2 Range

From: Kollár Lajos <kollarlajos@tigris.klte.hu>
Date: Mon, 20 Dec 1999 06:25:18 +0100
Message-ID: <385DBDBD.836C92C@tigris.klte.hu>
To: www-dom@w3.org
Dear all,

I have a question about DOM2 Range Object Model. Shouldn't be
> void surroundContents(in Node n);
declared as
> void surroundContents(in Node n) raises (RangeException); ?
>The surroundContents() method raises an exception if the range partially
selects a non-Text
> node. An example of a range for which surroundContents() raises an
exception is:
>         <FOO>AB<BAR>CD</BAR>E</FOO>
so it should be clear in the specification also.
Please let me know if I am wrong.
The quoted are all from CR-DOM-Level-2-19991210.

Received on Monday, 20 December 1999 00:23:53 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC