Bug Tracker

Modify

Ticket #5393 (closed bug: worksforme)

Opened 4 years ago

Last modified 2 years ago

jquery.height() returns incorrect values in Google Chrome 3.0

Reported by: Walta Owned by:
Priority: low Milestone:
Component: core Version: 1.3.2
Keywords: height Cc:
Blocking: Blocked by:

Description

<div>LargeTextBlock</div>

$('#div').height() returns incorrect values in Chrome.

Same problem with the outerHeight() and innerheight() aren't.

bug found on Vista 32 SP1 with Google Chrome 3.0.195.27 (current latest version).

Change History

comment:1 Changed 3 years ago by rwaldron

  • Priority changed from major to low
  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone 1.4 deleted

No longer an issue

 http://jsfiddle.net/rwaldron/vHLGg/1/

Also - did you really use $('#div') to try and find <div>? That's invalid.

comment:2 Changed 2 years ago by kt2k

Error example  http://jsfiddle.net/3jzK2/ work only in Chrome.

Problem consists in overflow:hidden

#up-events ul {font-size: 1em;overflow:hidden}

change it to

#up-events ul {font-size: 1em;}

And everything will be fine.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.