Closed Bug 145841 Opened 22 years ago Closed 22 years ago

Changing an IFrame's position style causes back button to stop working

Categories

(Core :: DOM: Navigation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 52334

People

(Reporter: birtles, Assigned: radha)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0rc2)
Gecko/20020510
BuildID:    2002051006


If you change the position style of an IFrame (eg using javascript) and then use
try to use the back button, the back button does not work. See the test case
(http://www.solutionsfirst.com.au/~brian/iframe-test/page1.html) for an example.


Reproducible: Always
Steps to Reproduce:
1. Go to http://www.solutionsfirst.com.au/~brian/iframe-test/page1.html
2. Follow the link at the bottom of the page
3. Click the little arrow button
4. Use the back button


Actual Results:  Nothing happens. To go back you must use the back button's drop
down history.

The test case contains several methods for achieving this result (a button, and
three sorts of text links). If you use the test link which has its href set to
'#' then if you click the back button three times it will return to the start page.


Expected Results:  When you click the back button it should return to the start
page (ie page1.html).

This expected behaviour can be observed under MSIE6.0.


It appears that similar behaviour occurs when writing to an iframe according to
Bug 129590.


This behaviour is not new. I have been experiencing it for several months.


Another example can be observed by:
1. Go to http://www.solutionsfirst.com.au/~brian/nsforum/search.php
2. Click 'search'
3. Click any of the little calendar icons
4. Try clicking back
This is fixed now that reframing an iframe does not recreate the docshell for it...

*** This bug has been marked as a duplicate of 52334 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.