will not open javascript pop up windows when the link is contained inside of a frame

RESOLVED WORKSFORME

Status

SeaMonkey
General
RESOLVED WORKSFORME
14 years ago
13 years ago

People

(Reporter: Bryan Heiser, Unassigned)

Tracking

({qawanted})

Trunk
x86
Windows XP
qawanted

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514
Build Identifier: Mozilla/1/7 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040514

mozilla will not open up javascript pop up windows when the links are contained
inside of a frame on a webpage.
http://www.hostultra.com/~gangsterbiking/cphotos/photos_bmx.html is a good
example. try clicking on of the images, nothing will open up. what should
happen(works in IE) is it will open up the image in a pop up window and will
then automatically resize itself to fit the exact size of the image. when the
links are not contained inside a frame it will open the pop up, but will not
resize like it should. the script allows you to select the "default size" that
the window will open. so lets say you pick 100x100, the window will be 100x100
untill the image loads which it will then resize itself to show the entire
image. the way that webpage has it set it should open up at 500x500, but once it
opens it will show the image but stay at 500x500 instead of resizing to only
show the image. a good exampe of that is here
http://www.hostultra.com/~gangsterbiking/cphotos/photos_wilderness.html.

Reproducible: Always
Steps to Reproduce:
1. it happens everytime. everytime you try to open up that type of pop up inside
a frame it won't.
2.
3.

Actual Results:  
pop up will not open up while the link is contained inside a frame. if it is not
contained inside a frame the window is not resizing to fit only the image

Expected Results:  
it should open up a pop up window with no toolbars, scrollbars, etc. after the
pop up comes up, it should then automatically resize itself to fit only the image.

Comment 1

14 years ago
On my side, the image show up
http://www.hostultra.com/~gangsterbiking/cphotos/photos_bmx.html
and the window resize itself if I set
dom.disable_window_move_resize to true
(ie. Tools>Options...>Web Features>Advanced...>Move or resize existing windows)


the developer could use window.sizeToContent(); Gecko's method to resize the
window to the image size. dom.disable_window_move_resize property has to be true

Also, try to look at your popup filter manager.
(Reporter)

Comment 2

14 years ago
i just realized that i had the option of no resizing windows turned off. when i
turned it on it worked correctly if the link wasn't contained inside a frame. if
it wasn't loaded inside a frame the window would resize itself correctly. but if
it's in a frame it will resize but i think it resizes to the image's dimensions
and "forgets" about the scrollbars and there are scrollbars when there shouldn't be

(In reply to comment #1)
> On my side, the image show up
> http://www.hostultra.com/~gangsterbiking/cphotos/photos_bmx.html
> and the window resize itself if I set
> dom.disable_window_move_resize to true
> (ie. Tools>Options...>Web Features>Advanced...>Move or resize existing windows)
> 
> 
> the developer could use window.sizeToContent(); Gecko's method to resize the
> window to the image size. dom.disable_window_move_resize property has to be true
> 
> Also, try to look at your popup filter manager.

Doesn't sound like an image layout bug. To browser-general pending triage.
Assignee: jdunn → general
Component: Layout: Images → Browser-General
Keywords: qawanted
QA Contact: core.layout.images → general
Product: Browser → Seamonkey

Comment 4

13 years ago
both URLs are 404.  Can you attach a page or testcase to this report that
exhibits the bug?

Comment 5

13 years ago
resolving WORKSFORME
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.