edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Chris Brannon <chris@the-brannons.com>
To: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] startpage
Date: Sun, 09 Feb 2014 14:12:05 -0800	[thread overview]
Message-ID: <87mwi0djgq.fsf@mushroom.PK5001Z> (raw)
In-Reply-To: <20140109140403.eklhad@comcast.net> (Karl Dahlke's message of "Sun, 09 Feb 2014 14:04:03 -0500")

Karl Dahlke <eklhad@comcast.net> 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

  reply	other threads:[~2014-02-09 22:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-09 19:04 Karl Dahlke
2014-02-09 22:12 ` Chris Brannon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-02-10 19:47 Karl Dahlke
2014-02-10 20:40 ` Chuck Hallenbeck
2014-02-10 23:52 ` Chris Brannon
2014-02-11  0:04   ` Chuck Hallenbeck
2014-02-11  0:29     ` Chris Brannon
2014-02-11  0:42       ` Chuck Hallenbeck
2014-02-09 23:23 Karl Dahlke
2014-02-09 17:35 Karl Dahlke
2014-02-09 18:29 ` Chris Brannon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwi0djgq.fsf@mushroom.PK5001Z \
    --to=chris@the-brannons.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).