[whatwg] Submitting form question

Ian Hickson ian at hixie.ch
Mon May 2 14:53:21 PDT 2011


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.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list