Status

()

Firefox
General
RESOLVED INVALID
13 years ago
12 years ago

People

(Reporter: Mirek Komárek, Assigned: Blake Ross)

Tracking

1.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.6) Gecko/20050226 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; cs-CZ; rv:1.7.6) Gecko/20050226 Firefox/1.0.1

This code should onresize give an alert with current window width, works in all
5+ browsers instead of Firefox version 1.0.1
function reloudni(){location.reload()}
function test(){
if (window.innerHeight) {sirka=window.innerWidth}
else {sirka=document.body.clientWidth}
window.alert(sirka)
}
window.onload=test;
window.onresize=reloudni;


Reproducible: Always

Steps to Reproduce:
1.resize window
2.
3.

Actual Results:  
There should be an alert, but there is no one

Expected Results:  
Give an alert with current window width, onload should be the same as reload

Load is different that reload

Updated

13 years ago
Severity: major → normal
Version: unspecified → 1.0 Branch

Comment 1

13 years ago
This was changed in bug 258917 to fix broken sites which improperly caused
reloads on resize. -> INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Depends on: 258917
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.