Closed
Bug 217743
Opened 22 years ago
Closed 22 years ago
Firebird renders the page wrong, so you can't see what you are supposed to see.
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
VERIFIED
DUPLICATE
of bug 166630
People
(Reporter: jesse.pirhonen, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 Mozilla Firebird/0.6.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827 Mozilla Firebird/0.6.1+
Browsing any screenshot section in Gamers Hell (http://www.gamershell.com)
conatins this problem. When you click one of the thumbnails, it should open a
window (uses javascript) and show the full-size screenshot. But instead of that,
Firebird renders the page wrong and shows an almost blank window with no
screenshot in it.
Reproducible: Always
Steps to Reproduce:
1. Go to http://www.gamershell.com
2. Choose any of the screenshot galleries
3. Click a thumbnail to show the full-sized screenshot
Actual Results:
Firebird can't render the javascripted "popup" screenshot page.
Expected Results:
Show the screenshot in the middle of the newly opened "popup" screenshot page.
Check the screenshots to see the problem.
In Firebird (page rendered wrong):
http://koti.phnet.fi/pirhje/firebird_bug/in_firebird.jpg
In IE (page rendered correctly)
Reporter | ||
Comment 1•22 years ago
|
||
Forgot the last link (IE renders correctly):
http://koti.phnet.fi/pirhje/firebird_bug/in_ie.jpg
Comment 2•22 years ago
|
||
This is not Firebird specific, it's the same for Mozilla 1.5b (windows 2003)
But I really don't know where to start
Comment 3•22 years ago
|
||
Confirmed with Windows Firebird build 20030830. The relevant snippet of code is:
var category = 'Casino-Cards';
var game = 'Hoyle_Card_Games_2004';
var x = '';
var y = '';
var enlargedwindow;
function EnlargeImage(image) {
var preloadedimage = new Image();
preloadedimage.src = 'http://www.gamershell.com/imagefolio/gallery/' +
category + '/' + game + '/' + image;
var output = "";
enlargedwindow =
window.open("http://www.gamershell.com/imagefolio/pic.php/gallery/" + category +
"/" + game + "/" + image +
"","GHEnlargedScreenshot","height=650,width=800,top=5,left=10,resize=yes,scrolling=no");
ResizePopup();
}
function ResizePopup() {
x = screen.width-20;
y = screen.height-30;
enlargedwindow.window.resizeTo(x,y);
}
Problem is caused by the IFRAME contained within in table in the generated
popup-window: if I remove the height attribute of the IFRAME everythings works
fine - also if I remove the table everything works fine, even with the above
mentioned height attribute.
=> maybe bug #166630
Comment 5•22 years ago
|
||
ok, I've simplified it down after following the code. The following html works,
but if you remove the comments it fails under firebird (but not IE). I believe
it *might* have something to do with IFRAME's in tables needing to be resized to
display correctly, but I'm not sure on this yet.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Enlarged Screenshot</title>
<style type="text/css">
</style>
</head>
<body>
<!--<table style="width: 100%; height: 100%;">
<tr><td>
<center>
-->
<iframe
src="http://www.gamershell.com/imagefolio/show.php?pic=http://www.gamershell.com/imagefolio/gallery/Casino-Cards/Hoyle_Card
_Games_2004/HoyleCardGames2004_08.jpg"
name="Screenshot"
width=100%
height=83%
frameborder="1">
</iframe>
<!--
</td></tr>
</table>
</center>
-->
</body></html>
Comment 6•22 years ago
|
||
Taking QA Contact. Marking dupe.
*** This bug has been marked as a duplicate of 166630 ***
Severity: minor → normal
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
OS: Windows XP → All
QA Contact: asa → bugzilla
Hardware: PC → All
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
QA Contact: bugzilla → general
You need to log in
before you can comment on or make changes to this bug.
Description
•