- From: Kollár Lajos <kollarlajos@tigris.klte.hu>
- Date: Mon, 20 Dec 1999 06:25:18 +0100
- 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 UTC