Bug Tracker

Opened 6 years ago

Closed 6 years ago

#14130 closed bug (notabug)

[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?

Change History (2)

comment:1 Changed 6 years ago by matteosistisette

Sorry I've realized this is not the right bugtracker

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

comment:2 Changed 6 years ago by scottgonzalez

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