Opened 11 years ago
Closed 11 years ago
#11623 closed bug (wontfix)
$(document).width() miscalculation in FF 10.0.1
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | dimensions | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$(document).width() returns (buggy) the same value as $(window).width() in FF 10.0.1 on page where document width is bigger than window (viewport) width. You can check it by creating a test page so wide, that horizontal scrollbar is displayed. This bug IS present in 1.7.2 but IS NOT present in 1.7.1. I discovered it while implementing "block-ui mask" on such wide page (soo wide data table). I compared it to IE7 as well - there is no problem. THX.
Change History (4)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Component: | unfiled → dimensions |
---|---|
Milestone: | None → 1.next |
Owner: | set to [email protected]… |
Priority: | undecided → low |
Status: | new → pending |
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to begin.
comment:4 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | pending → closed |
No, I overlooked that.
I forgot to add: this bug happens in quirks mode only - when no DOCTYPE is specified. Therefore You can't test in using jsFiddle.