Skip to main content

Bug Tracker

Side navigation

#14130 closed bug (notabug)

Opened July 13, 2013 08:31PM UTC

Closed July 13, 2013 09:08PM UTC

[DOCUMENTATION] unclear statement about offset()

Reported by: matteosistisette Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.2
Keywords: Cc:
Blocked by: Blocking:
Description

Regarding .offset()

http://api.jquery.com/offset/

"Note: jQuery does not support [...] accounting for borders, margins, or padding set on the body element."

It's not clear what "accounting for" means.

Does it mean that the offset is computed relative to the whole body including the body's margins? Or does it mean the opposite, that it is relative to the inner box of the body?

Attachments (0)
Change History (2)

Changed July 13, 2013 08:35PM UTC by matteosistisette comment:1

Sorry I've realized this is not the right bugtracker

https://github.com/jquery/api.jquery.com/issues/340

Changed July 13, 2013 09:08PM UTC by scottgonzalez comment:2

resolution: → notabug
status: newclosed