W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2014

Re: Query on DOM range methods

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 4 Feb 2014 13:14:34 +0000
Message-ID: <CADnb78hou9dhBBdRy7mdZXXgTNww3c065PK_5SWf8ex+Ojho6w@mail.gmail.com>
To: bhanukrushna rout <bhanu_nitrkl12@yahoo.co.in>
Cc: Aryeh Gregor <ayg@aryeh.name>, "www-dom@w3.org" <www-dom@w3.org>
On Fri, Jan 31, 2014 at 9:45 AM, bhanukrushna rout
<bhanu_nitrkl12@yahoo.co.in> wrote:
> Now, I am confused if a particular spec revision is complete in itself or
> its a change in addition to the previous revisions.
> Please help me understand it and let me know if element node to be allowed
> as a root container.

Yes it could be.

var r = new Range()
var e = document.createElement("test")
var ec = e.appendChild(document.createElement("test"))
alert(r.startContainer == e)

If you mean something else you'll have to be more clear.

Received on Tuesday, 4 February 2014 13:15:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:04 UTC