#4687 closed bug (worksforme)
Incorrect $(window).width() in Firefox
Reported by: | dylan | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | dimensions | Version: | 1.3.2 |
Keywords: | css width | Cc: | |
Blocked by: | Blocking: |
Description
Firefox (tested: 3.0.10, Mac) reports the wrong value for $(window).width in really narrow browser windows. It gets stuck at a certain minimum, when the window width is obviously much less.
Reproduce:
- http://dyve.net/demo/jquery.width.html
- Make your browser Window as narrow as possible
- Note: no horizontal scrollbars
- Press "click me" to see $(window).width() value
- Repeat with Opera or Safari, sae window width, different (more accurate) results
Change History (7)
comment:1 Changed 13 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:3 Changed 11 years ago by
Same problem occurring on FireFox 10.0.2 (Mac)
Seems to display a minimum of 400 pixels even when browser much narrower...
comment:4 Changed 11 years ago by
Seems to still be a problem in firefox mac. Min width 348 for me even when window is smaller. Firefox 15
Note: See
TracTickets for help on using
tickets.
Seems to report the correct width in Firefox 3.5 down to 116 pixels.