W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] Submitting form question

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 2 May 2011 21:53:21 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1105022149400.19153@ps20323.dreamhostps.com>
On Thu, 30 Dec 2010, 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?
> 
> The background for my question is in the analysis done in 
> <https://bugs.webkit.org/show_bug.cgi?id=20342#c35>

On Thu, 30 Dec 2010, Aryeh Gregor wrote:
> 
> 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

I agree with this analysis. If it is still not clear, please let me know.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 2 May 2011 14:53:21 UTC

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