From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (unknown [IPv6:2602:4b:a4d8:4b00:12bf:48ff:fe7c:5584]) by hurricane.the-brannons.com (Postfix) with ESMTPSA id 6F97E78465 for ; Sun, 9 Feb 2014 14:12:44 -0800 (PST) From: Chris Brannon To: Edbrowse-dev@lists.the-brannons.com References: <20140109140403.eklhad@comcast.net> Date: Sun, 09 Feb 2014 14:12:05 -0800 In-Reply-To: <20140109140403.eklhad@comcast.net> (Karl Dahlke's message of "Sun, 09 Feb 2014 14:04:03 -0500") Message-ID: <87mwi0djgq.fsf@mushroom.PK5001Z> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Edbrowse-dev] startpage X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Feb 2014 22:12:44 -0000 Karl Dahlke writes: > Yes I know, exactly, question is, do real web pages do that? I don't know. I've been looking for live examples, but I haven't found one yet. But here's some text I found that mentions the submit method of form objects: "If a form control (such as a submit button) has a name or id of submit it will mask the form's submit method." Source: https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement.submit It isn't the behavior I see in Chromium, where a form element with id=submit does not mask document.form.submit, but a form element with id=foo is available as document.form.foo. I also need to get a handle on the DOM specifications. Wow, what a mess the web is. I'm amazed it holds together as well as it does. -- Chris