Closed Bug 329224 Opened 20 years ago Closed 17 years ago

Show/hide toolbars does not trigger window.resize

Categories

(Firefox :: Toolbars and Customization, defect)

1.5.0.x Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: julian.clementson, Unassigned)

References

()

Details

(Whiteboard: [closeme 2009-02-04])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Sites that use the window.onresize event to resize their contents can be broken when showing or hiding Firefox's toolbars. Reproducible: Always Steps to Reproduce: 1. Press Ctrl-F 2. Navigate to www.Lst.ac.uk 3. Close the find bar (or hide any other optional toolbar). Actual Results: You will see that the bottom two <div> areas are not resized to fill the empty space, wheras they are if you change the window size in some other way. Expected Results: Shouldn't window.onresize be triggered whenever the available document space changes size? Or is there a different onresize event that this website should be using instead of window.onresize?
Component: Find Toolbar / FastFind → Toolbars
QA Contact: fast.find → toolbars
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060228 Firefox/1.6a1 ID:2006022815 I see this too.
WFM (using the javascript: URL I added) on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090103 Shiretoko/3.1b3pre. Can you reproduce this on a recent build? (I don't see anything resizing on www.Lst.ac.uk -- probably the site got redesigned?)
URL: http://www.Lst.ac.uk → javascript:void(onresize=alert)
Whiteboard: [closeme 2009-02-04]
Version: unspecified → 1.5.0.x Branch
A similar bug on Linux, filed for 3.0b5: bug 429051.
The testcase javascript:void(onresize=alert) works for me, Firefox 3.0.8pre (2009022204) on Linux. -> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.