- From: Olli Pettay <Olli.Pettay@helsinki.fi>
- Date: Sat, 03 Oct 2009 00:19:52 +0300
Hi, seems like HTML5 doesn't properly specify what should happen if the 'previous top level page' contained frames and go(-<some value>) is used to navigate back. Browsers also do different things. A pretty simple testcase is here http://mozilla.pettay.fi/moztests/history/Start.html Just click the links until 'B iframe 2' is loaded. go(-2) should apparently load previous top level page, and in its iframe it should load the previously loaded document, not the document, which iframe element in the top level page refers to. Section 6.10 doesn't seem to specify that behavior properly. Perhaps even more interesting case is go(-3). Which one is the right thing to do, IE8 behavior or FF3.6/Opera10? And if IE8's, why its 'Back' button behaves differently. And this all is still just about static pages. Things get more complicated when (i)frames are added and removed dynamically. -Olli
Received on Friday, 2 October 2009 14:19:52 UTC