Closed Bug 107682 Opened 23 years ago Closed 23 years ago

ilinks in iframe always take over window

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

PowerPC
Mac System 9.x
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: david, Assigned: eric)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.5) Gecko/20011011
BuildID:    2001101117

iframe on the mac: I'm loading a 3rd party page with several links on it. The
links do not have a set target.  When this page loads into the iframe it dispays
fine. when a link is clicked the replacement page takes over the entire widow;
it does not load into the iframe but destroys it.

Reproducible: Always
Steps to Reproduce:
1.create an iframe
2.load an html page into the iframe that has links in it.
3.click a link

Actual Results:  the iframe and the page that holds it disappear and are
replaced by the linked page

Expected Results:  linked page should open in the iframe

setting a (base-) target in the  parent document of the iframe makes no
difference (which is correct I suppose).
Reporter, does this happen using an OBJECT also?

How about if you explicitly NAME the IFRAME and target the link to it?
David, please address my Additional Comment #1 on this bug. Also, please retest using 
0.9.6 now that it's out.
Hi Greg,

Sorry for the long delay. I've changed my page to work around the problem I was
having. However, I've reviewed the documents I was having problems with and have
discovered that, in fact, Mozilla is the ONLY browser to interpret it correctly.
I had assumed that since it behaved differently than all my other test apps that
it was the one with the problem...not so.

A line by line reading of the in-frame page reveals a _top command. I'd missed
it...the page is 300+ lines of pure guk. I'd assumed the base target at the top
of the page was the real deal.

0.9.6 is terific, Though preferences sometimes refuses to close.

thanks for your time and the best browser on the planet.

Dave
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.