Side navigation
#1613 closed bug (fixed)
Opened September 14, 2007 12:47AM UTC
Closed December 11, 2007 04:46AM UTC
widtt() and height() seems to reset element width/height css properties
Reported by: | daepark | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.2 |
Component: | core | Version: | 1.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Everytime I call $(elt).height() or $(elt).width(), I see the elt flickering which leads me to believe these get methods are resetting the width/height css values every times I call them?
Attachments (0)
Change History (5)
Changed September 16, 2007 01:43PM UTC by comment:1
Changed September 27, 2007 03:34PM UTC by comment:3
As a temporary workaround I've found that using .css('width') and .css('height') does not flicker as bad if not at all.
Changed September 27, 2007 03:34PM UTC by comment:4
milestone: | 1.2.1 → 1.2.2 |
---|
Changed December 11, 2007 04:46AM UTC by comment:5
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in Rev [4100].
Actually, it's resetting borderWidth/Height and paddingWidth/Height.
Near core.js line 641
If you have specified paddings for the element, it will flicker when you call .height(). This is visually annoying~