Closed Bug 84491 Opened 25 years ago Closed 25 years ago

earthlink.net - Two ad banners appear on ISP page

Categories

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

All
Windows 2000
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: susiewak, Assigned: harishd)

References

()

Details

(Whiteboard: [fix in hand])

Attachments

(3 files)

From Bugzilla Helper: User-Agent: Mozilla/4.7 [en] (WinNT; U) BuildID: 2001060504 Two top ad banners are served. Does not occur in 4.7. Reproducible: Always Steps to Reproduce: 1. Go to specified URL Actual Results: 2 banners appear Expected Results: 1 ad banner. (View same url in 4.x, verifying they are really only supposed to serve 1 ad.) sourcecode as it appears when using 6.1 build: <iframe SRC="http://connect.247media.ads.link4ads.com/serv/1/earthlink_network/earthlink _network_section/earthlink_people_chat/36584;type=t;uniq=PLACE_RANDOM_NUMBER_HER E" WIDTH=468 HEIGHT=60 MARGINWIDTH=0 MARGINHEIGHT=0 FRAMEBORDER=0 SCROLLING=no><a href="http://connect.247media.ads.link4ads.com/click/1/earthlink_network/earthli nk_network_section/earthlink_people_chat/36584;uniq=PLACE_RANDOM_NUMBER_HERE" target="_top"><img src="http://connect.247media.ads.link4ads.com/serv/1/earthlink_network/earthlink _network_section/earthlink_people_chat/36584;uniq=PLACE_RANDOM_NUMBER_HERE" BORDER="0" HEIGHT="60" WIDTH="468"></a></iframe>
Confirmed 2001-06-06-19 0.9.1 / win2k that Mozilla gets two banners while IE5.5 only gets one on Win2k.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Two ad banners appear on ISP page → Two ad banners appear on ISP page
Also occurs here on Netscape's site: http://home.netscape.com/netcenter/newnet/index.html
Priority: -- → P2
Priority: P2 → P1
Summary: Two ad banners appear on ISP page → earthlink.net - Two ad banners appear on ISP page
Contact address: websupport@earthlink.net
Whiteboard: [contact]
This is a browser bug. Content inside of <iframe>...</iframe> should NOT be displayed. -> HTMLFrames
Assignee: bclary → pollmann
Component: Evangelism → HTMLFrames
QA Contact: zach → amar
Note that I tried to generate a test case for this but was unable to reproduce. The example I used initially used an iframe with src www.mozilla.org and the contained image as the banner from mozilla.org. that did not reproduce the problem. I then edited the page to include the exact code from the earthlink page. That would only show one banner but would sometimes display the mozilla.org banner instead of the earthlink banner. Then I saved then entire earthlink page on top of my test file and reloaded. When viewing it I saw both the original mozilla.org banner image next to the earthlink image.
Note that the source for the file contains the following at the beginning: <excerpt> <html> <head> <meta HTTP-EQUIV="Description" CONTENT=""> <meta HTTP-EQUIV="Keywords" CONTENT=""> <title> Download EarthLink Instant Messenger </title> </head> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> </excerpt> But even if you remove the bad stuff at the beginning the double banner still displays.
This boils down to: <a name="top"> <iframe src="http://mozilla.org"> <a href="http://mozilla.org"> <img src="http://bugzilla.mozilla.org/ant.jpg"> </a> </iframe> The <a> inside the <iframe> will close the <a name="top">. This, unfortunately, will also close out the iframe, which will cause the <img> to be added outside the <iframe> in the content model, and be displayed. That is, the content model ends up looking like this: <a name="top"> <iframe src="http://mozilla.org"> </iframe> </a> <a href="http://mozilla.org"> <img src="http://bugzilla.mozilla.org/ant.jpg"> </a> Handing to Parser Guru, Harish. :)
Assignee: pollmann → harishd
Hardware: PC → All
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.4
Whiteboard: [contact] → [fix in hand]
r=pollmann@netscape.com (sorry for the delay!)
sr=vidur
Fix landed on 08/07/01. Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed.. Verified on WIN2K build ID: 2002011503
Status: RESOLVED → VERIFIED
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.

Attachment

General

Created:
Updated:
Size: