Closed Bug 960 Opened 26 years ago Closed 25 years ago

[FEATURE] window.onResize not implemented

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P4)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: joki)

References

Details

(Keywords: testcase, Whiteboard: onResize event must be implemented)

Attachments

(2 files)

I need to capture this event for some XPFE stuff I'm working on. I don't need to know much, other than the event happened, and the new dimensions of the window (which I'll file in a seperate bug report)
Status: NEW → ASSIGNED
onResize used to fire when the page relayed out. We'll need to figure out when to fire this in the new world.
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 4015 → 3847
*** Bug 4070 has been marked as a duplicate of this bug. ***
Target Milestone: M4 → M5
Still debating how to do this in the new world.
Target Milestone: M5 → M6
Moving out to M7
Target Milestone: M7 → M9
Whiteboard: [MAKINGTEST] Antti.Nayha@oulu.fi
Priority: P1 → P4
Summary: window.onResize not implemented → [4.xP] window.onResize not implemented
Whiteboard: [MAKINGTEST] Antti.Nayha@oulu.fi → [TESTCASE] onResize event must be implemented
Added the [4.xP] identifier. Rewrote the bug report in accordance to the guidelines as follows: Overview description: Mozilla does not support the (non-standard but somewhat widely supported) onResize attribute on the BODY element. Steps to reproduce: 1. View the attachment "onResize test". 2. Resize the document window. Actual results: Nothing happens. Expected results: A JavaScript alert saying: "The document window has been resized." Build Date & Platform: Originally reported 1998-10-01. Build date unknown. Platform: Windows 95. Additional Builds and Platforms: - M7 on Windows NT 4.0 SP4 - build 1999070408 (Viewer & Apprunner) on Windows NT 4.0 SP4 Additional Information: The onResize attribute is not part of HTML 4.0, but it is supported by at least NN4.x and IE4.0+.
Attached file onResize test (deleted) —
Target Milestone: M9 → M11
Moving multiple bugs to m12
this is MUST HAVE event type particularly for resolution independent displays to determine the window height and width and optionally programmatically force a resize event.
ps any interim solution would be appreciated !
Moving to m13 because Joki seems to be distracted.
Target Milestone: M13 → M14
Moving off bugs that won't make M13
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Setting the keyword all open [4.xp] bugs to 4xp.
Keywords: 4xp
Summary: [4.xP] window.onResize not implemented → window.onResize not implemented
Whiteboard: [TESTCASE] onResize event must be implemented → onResize event must be implemented
4x but not a current blocker. moving to m15
Target Milestone: M14 → M15
*** Bug 13126 has been marked as a duplicate of this bug. ***
Mass-moving bugs out of M15 that I won't get to. Will refit individual milestones after moving them.
Target Milestone: M15 → M16
Is this bug expected to be fixed for M16? I know it is part of DOM 2 and low in priority, but I thought DOM 2 Events was going to be officially supported. IN addition to the previous comments, this is an important event for anyone that uses positioning to layout a page for obvious reasons.
Attached file BODY onResize vs. window.onresize (deleted) —
New behavior in M15 (Win2K)... window.onresize fires an event when the page loads, but not on resizing the browser window, while <BODY onResize=... does not.
Please mark nsbeta2+[5/16-]. Nominating nsbeta2 as the ability to react to resize events is crucially important to DHTML developers. If you're doing a webtop, for example, you may need to change element positions (or restore them) in response to a resize. cc:ing jst to make sure he and joki don't duplicate effort here.
Keywords: nsbeta2
Summary: window.onResize not implemented → [FEATURE] window.onResize not implemented
Okay, this should be fixed now. resize works a little differently now since we relayout as we resize so instead of one event at the end we get a few as we resize. I think that's the best solution for the new product though if we want to discuss it we can.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified fixed on 2000-05-22-09-M16 Win32 2000-05-21-20-M16 Mac 2000-05-23-10-M16 Linux (on linux the testcase attachment 713 [details] brings up multiple alert boxes. Will note in different bug.)
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: