Bug Tracker

Ticket #11623 (closed bug: wontfix)

Opened 3 years ago

Last modified 3 years ago

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

Reported by: cavo@… Owned by: cavo@…
Priority: low Milestone: 1.next
Component: dimensions Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by cavo@…

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 3 years ago by rwaldron

  • Owner set to cavo@…
  • Priority changed from undecided to low
  • Status changed from new to pending
  • Component changed from unfiled to dimensions
  • Milestone changed from None to 1.next

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

Do we even support quirks mode?

comment:4 Changed 3 years ago by rwaldron

  • Status changed from pending to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.