Closed Bug 226442 Opened 21 years ago Closed 21 years ago

Dynamic content in iframe doesn't show

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 225811

People

(Reporter: karpieszuk, Unassigned)

References

()

Details

(Keywords: qawanted)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.6b) Gecko/20031118 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.6b) Gecko/20031118 First I have to admit that I`m not good in DOM and JavaScript but for me it looks that this bug has something common with them. I`f not, please change the category. Few days ago polish site with statistics about internet - www.ranking.pl - change its interfejs from Java to JavaScript and DOM lvl1. Since this they recommend Mozilla as one of the most compatible browser with their site. But look at this: http://ranking.pl/rank.php?stat=browPL Over the table on right You will see big white area for content of <iframe> (source of iframe is http://ranking.pl/chart/linechart.php). In this plase should be located diagram created via JavaScript from image and dhtml components (check page info - ctrl+I > Media - and You will see that image components are there, so Mozilla got this). This Bug egzist in my *nightly build* on diffrent profiles, whereas in Mozilla 1.0.2 everything works fine. It looks that You made some regression. Please repare this - ranking.pl is one of most popular polish site. It is site Gemius - polish biggest internet analize corporation (ranking.pl provide statistics for example of browser usage - very good place to evangelize new users of Mozilla). Reproducible: Always Steps to Reproduce: JavaScript Console show nothing
Flags: blocking1.6b?
"It is site Gemius" sholud be "It is site of Gemius company"
does http://ranking.pl/chart/linechart.php show up in 1.0.x if loaded directly ? This would move 'iframe' out of this issue.
It shows, but not correctly. I get Alert Box that I have to enable coockies supprt. Also I whink iframe could be important, becouse it is getting parameters from rest of the site. (for example stat=browPL in url)
linechart shows nothing, either in the page or loaded separately. there is also browsersniffing: var dyn = (document.getElementById) ? true : false; var ns = (navigator.appName.indexOf('Netscape') != -1) ? true : false; JSconsole gives: Warning: variable EVENT hides argument Source File: http://ranking.pl/chart/linechart.php Line: 254, Column: 19 Source Code: if (!EVENT) var EVENT = window.event; the function: function updateCursorPos(EVENT) { if (!EVENT) var EVENT = window.event; EVENT.cancelBubble = true; if (EVENT.stopPropagation) EVENT.stopPropagation(); if (dyn) { if (ie) { cursorWinX = event.clientX; cursorWinY = event.clientY; cursorPageX = cursorWinX + document.body.scrollLeft; cursorPageY = cursorWinY + document.body.scrollTop; } else { cursorPageX = EVENT.pageX; cursorPageY = EVENT.pageY; cursorWinX = cursorPageX - window.pageXOffset; cursorWinY = cursorPageY - window.pageYOffset; ..... function init() { ... if (dyn) { if (ns) document.captureEvents(Event.MOUSEMOVE); document.onmousemove = updateCursorPos; }
Summary: Dynamic content in iframe doesn`t show → Dynamic content in iframe doesn't show
tested page and linechart with 1.0.2, working, and made a local copy of linechart. tested with 1.4.1 Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4.1) Gecko/20031008 loading linechart shows 4 lines of .php errormessages, then an alert pops up, telling me in polish language something about cookies. I had cookies enabled for all, session only, and for scripting (Advanced) Acknowledging the alert, an image about 500x320 pix with the text "Loading" replaced part of the errormessages, and nothing else happened. A rough glance at the sourcecode then was showing the 4 errormessages, and then the normal html source of the complete? linechart. I made a local copy of this too. 1.0.2 could show the page, but not the local copy made with 1.4.1 1.4.1 didn´t show the page nor it´s own local copy, but did show the 1.0.2 local copy.
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6b) Gecko/20031121 1.4.1 and 1.6b don´t get the linechart.php, they only get the complete <head> with a lot of js and style, but only a short <body> with the 'Loading' image. So the local copy made with 1.0.2 is the only valid local copy. 1.4.1 shows the 1.0.2 local copy, but not the website. 1.6b doesn´t show the local copy, nor the website.
The iframe content is a positioned div inside an overflow:hidden <body>... and it overflows the <body>, since it's positioned. *** This bug has been marked as a duplicate of 225811 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Keywords: qawanted
Resolution: --- → DUPLICATE
Component: DOM: HTML → DOM: Core & HTML
QA Contact: ian → general
You need to log in before you can comment on or make changes to this bug.