Open Bug 296087 Opened 20 years ago Updated 2 years ago

window.innerWidth and -innerHeight returning 0 when window is minimized

Categories

(Core :: DOM: CSS Object Model, defect, P5)

x86
Windows XP
defect

Tracking

()

REOPENED

People

(Reporter: martijn.martijn, Unassigned)

References

Details

(Keywords: helpwanted)

See bug 266737, comment 56 and bug 266737, comment 60.

To see the bug, look with dom inspector on a minimised window. Go to
document->defaultView and then look for innerWidth (it's almost to the bottom).

Note that window.innerWidth is not 0 for when accessed inside the html document.
If this bug would be fixed, then the patch in bug 266737 would not be necessary,
I believe.
Blocks: 266737
Keywords: helpwanted
Window.innerWidth isn't used anymore in the code in question, so I guess the patch from bug 266737 can be backed out.
Note that I can still see this bug with current trunk build.
Assignee: general → nobody
QA Contact: ian → general
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Priority: -- → P5
Component: DOM: Core & HTML → DOM: CSS Object Model
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.