[whatwg] Submitting form question

Aryeh Gregor Simetrical+w3c at gmail.com
Thu Dec 30 13:09:48 PST 2010


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.



More information about the whatwg mailing list