From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.61; helo=out.smtp-auth.no-ip.com; envelope-from=kevin@carhart.net; receiver= Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.61]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 20669779AA for ; Sun, 26 Nov 2017 17:47:09 -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 499AE4B8 for ; Sun, 26 Nov 2017 17:48:45 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id vAR1milv003964 for ; Sun, 26 Nov 2017 17:48:44 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id vAR1mipm003938 for ; Sun, 26 Nov 2017 17:48:44 -0800 Date: Sun, 26 Nov 2017 17:48:44 -0800 (PST) From: Kevin Carhart To: Edbrowse-dev@lists.the-brannons.com In-Reply-To: <20171026081440.eklhad@comcast.net> Message-ID: References: <20171016072958.eklhad@comcast.net> <20171026081440.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] data-* attributes / new work on RC X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 01:47:10 -0000 > After browsing the home page, I set db4 and went to the Our Ship link, I think there are strands of a couple of causes at once, maybe. I recognize preventDefault. This has to do with Event. If you clone https://github.com/thatcher/env-js.git and go to src/event/event.js , preventDefault is here. It has to do with bubbling/capturing, which is what that third argument to addEventHandler is about. And this env code is where I got the Event = function(){ definition from. I think we want eb$master.Event.prototype.preventDefault, and maybe some others like eb$master.Event.prototype.stopPropagation. But this raises the question of bubbling & capturing. I think that's what radiocaroline is trying to call preventDefault for. I'm going to include an article that MDN links, because it seems like useful history. If we understand this theme, maybe we ought to revisit that third argument to addEventListener, which if you remember we currently set aside and call it 'notused'. I put it on carhart.net and cleaned it up slightly. Please pull it up when you have a moment. http://carhart.net/~kevin/ppk_events.html