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); ?
Because:
>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.

    Regards,
            Lajos
Received on Monday, 20 December 1999 00:23:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:47 GMT