W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2010

[whatwg] Submitting form question

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Thu, 30 Dec 2010 16:09:48 -0500
Message-ID: <AANLkTinQ_Jvk7nG4Qku_7+wvWKcChWyDCn+9JMG4BHn+@mail.gmail.com>
On Thu, Dec 30, 2010 at 9:06 AM,  <Yael.Aharon at nokia.com> wrote:
> When submitting a form, whose method is "GET" and action is identical to the
> current location, except for the fragment, should that trigger reloading the
> page, or simply navigating to the fragment?

As I'm reading the spec, you're doing "Mutate action" in step 19 here:

http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#form-submission-algorithm

Then in the navigation algorithm, step 7 says you just navigate to the
new fragment and don't reload the page:

http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#navigate

> The background for my question is in the analysis done in
> <https://bugs.webkit.org/show_bug.cgi?id=20342#c35>

Your conclusion appears to match mine, if I'm reading you right.
HTML5 is confusing sometimes, but it sure is precise.
Received on Thursday, 30 December 2010 13:09:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC