Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14705 closed bug (notabug)

Incorrect document height

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: unfiled Version:
Keywords: Cc:
Blocked by: Blocking:


$(document.body).height() on www.medium.com gives an incorrect value. It gives values such as 500 px, when the document is clearly several thousand px tall, as you have to scroll several pages down to get to the end.

Related SO question: http://stackoverflow.com/questions/21131957/jquery-returns-wrong-document-height

Change History (3)

comment:1 Changed 9 years ago by dmethvin

Owner: set to [email protected]
Status: newpending

Usually this indicates the document is in quirks mode. Please provide a test case.

comment:2 Changed 9 years ago by [email protected]

Status: pendingnew

False alarm. Turns out the browser was scrolling a particular div, which made me think the document was taller than it actually was. You can close this ticket.

comment:3 Changed 9 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.