Bug Tracker

Opened 10 years ago

Closed 10 years ago

#11623 closed bug (wontfix)

$(document).width() miscalculation in FF 10.0.1

Reported by: [email protected] Owned by: [email protected]
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 10 years ago by [email protected]

I forgot to add: this bug happens in quirks mode only - when no DOCTYPE is specified. Therefore You can't test in using jsFiddle.

comment:2 Changed 10 years ago by Rick Waldron

Component: unfileddimensions
Milestone: None1.next
Owner: set to [email protected]
Priority: undecidedlow
Status: newpending

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:3 Changed 10 years ago by mikesherov

Do we even support quirks mode?

comment:4 Changed 10 years ago by Rick Waldron

Resolution: wontfix
Status: pendingclosed
Note: See TracTickets for help on using tickets.