W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Node inDocument

From: Ryosuke Niwa <rniwa@webkit.org>
Date: Mon, 29 Aug 2011 17:25:52 -0700
Message-ID: <CABNRm62QFLCtyHomHb=ua4kK4_piUrs7E4KSWMzQQxoLF=ApKA@mail.gmail.com>
On Mon, Aug 29, 2011 at 5:21 PM, Bjoern Hoehrmann <derhoermi at gmx.net> wrote:
>
> This is addressed by Node.compareDocumentPosition. Have you missed this
> or is there some problem making that perform properly?
>

Node.compareDocumentPosition is O(n) when both node are in the same
document.

- Ryosuke
Received on Monday, 29 August 2011 17:25:52 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC