Opened 10 years ago
Closed 10 years ago
#14768 closed bug (wontfix)
Set wrong offset for display:none elements
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Setting offset for absolute display:none elements cause wrong offset after element is set to display:block.
Change History (3)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
This is probably due to https://github.com/jquery/api.jquery.com/issues/197 and won't be fixed.
comment:3 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This will be documented. In general it's very expensive to ask for the position or size of hidden elements and should be avoided anyway.
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/b6U2U/3/ - after resizing window and click on red element offset of green one is wrong.