From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out.smtp-auth.no-ip.com (out.smtp-auth.no-ip.com [8.23.224.60]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 51B7D79DCD for ; Wed, 28 Dec 2016 19:31:42 -0800 (PST) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 0E7BF43B for ; Wed, 28 Dec 2016 19:31:42 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id uBT3Vegu008132 for ; Wed, 28 Dec 2016 19:31:40 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id uBT3VdbN008126 for ; Wed, 28 Dec 2016 19:31:40 -0800 Date: Wed, 28 Dec 2016 19:31:39 -0800 (PST) From: Kevin Carhart To: Edbrowse-dev@lists.the-brannons.com Message-ID: User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: [Edbrowse-dev] the siblings patch X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.23 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2016 03:31:42 -0000 I just sent a suggested patch which will implement the DOM manipulations nextSibling and previousSibling. Karl, you pointed out a while ago that the siblings are computed in the course of our native insertBefore code. But I did it in javascript so that I would have a deeper understanding and not just be modifying your insertBefore code in more of a brittle way. And also, nextSibling and previousSibling are merely discerning something and there is no side effect to worry about. It doesn't change the tree, just discerns information about it. Kevin