Closed Bug 690671 Opened 13 years ago Closed 13 years ago

offsetWidth on body never below 334

Categories

(Firefox :: General, defect)

7 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 428939

People

(Reporter: rickard.persson, Unassigned)

Details

Attachments

(1 file)

Attached file test.asp (deleted) —
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Build ID: 20110928134238 Steps to reproduce: I try to get the width of the browser window, when the window is really small. I run Windows Vista, latest updates of cource My language is Swedish Actual results: Even if my browser is sized to 107px width, the reported size is 334 (FF 7.01), in FF 6.02 it was 326. Expected results: I belive the offsetWidth should be 107.
The bug is that the content viewport does not resize below a certain width, so the offsetWidth value is correct given the circumstances. See bug 428939 for details. (fixing that bug will allow offsetWidth to reach zero)
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: