Skip to main content

Bug Tracker

Side navigation

#14705 closed bug (notabug)

Opened January 17, 2014 09:32PM UTC

Closed January 23, 2014 10:49PM UTC

Incorrect document height

Reported by: isak.sky@gmail.com Owned by: isak.sky@gmail.com
Priority: undecided Milestone: None
Component: unfiled Version:
Keywords: Cc:
Blocked by: Blocking:
Description

$(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

Attachments (0)
Change History (3)

Changed January 19, 2014 05:50PM UTC by dmethvin comment:1

owner: → isak.sky@gmail.com
status: newpending

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

Changed January 23, 2014 10:33PM UTC by isak.sky@gmail.com comment:2

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.

Changed January 23, 2014 10:49PM UTC by dmethvin comment:3

resolution: → notabug
status: newclosed