Skip to main content

Bug Tracker

Side navigation

#2078 closed bug (invalid)

Opened December 19, 2007 07:30PM UTC

Closed December 20, 2007 05:54AM UTC

jQuery( "#element" ).height() returns 0 in Safari 3

Reported by: aarongough Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: safari height ul li returns 0 Cc:
Blocked by: Blocking:
Description

I have not had time to test this on a wide variety of elements but I know that the height is returned incorrectly on UL and LI elements.

The elements being queried are "display: block" and do not have any special positioning applied to them.

Please email me after Dec 21 if you need further testing done.

Attachments (0)
Change History (3)

Changed December 19, 2007 07:31PM UTC by aarongough comment:1

sorry for the lack of detail, this bug has caught me in the middle of a major project so I am looking for a work-around outside of jQuery for the moment. Thanks for your help!

A

Changed December 19, 2007 08:01PM UTC by aarongough comment:2

well it turns out that the bug was being caused by an un-related error ( apparently 'length' is treated as a reserved word by both IE & safari ).

I tried to close the ticket but I can't work out how.

Sorry for the hassle.

A

Changed December 20, 2007 05:54AM UTC by davidserduke comment:3

resolution: → invalid
status: newclosed

No problem. Thanks for both reporting the problem and for following up.

Closed based on information from the author.