Skip to main content

Search and Top Navigation

#10071 closed bug (fixed)

Opened May 27, 2014 06:36PM UTC

Closed July 24, 2014 08:05PM UTC

Last modified July 24, 2014 08:15PM UTC

Position fails on document containment with jQuery 1.6.1

Reported by: Krinkle Owned by:
Priority: minor Milestone: 1.11.1
Component: ui.position Version: 1.11.0
Keywords: Cc:
Blocked by: Blocking:

Position tests fail unconditionally in all browsers with jQuery 1.6.1


Test 17. position: within

TypeError: Cannot read property 'width' of undefined
at Object.jQuery.cssHooks.(anonymous function).get (/tests/jquery-1.6.js:6338:22)
at Function.jQuery.extend.css (/tests/jquery-1.6.js:6273:48)
at jQuery.fn.(anonymous function) [as outerWidth] (/tests/jquery-1.6.js:8814:23)
at Object.$.position.getWithinInfo (/ui/position.js:126:60) at $.fn.position (/ui/position.js:142:23)
at collisionTest (/tests/unit/position/position_core.js:341:25)
at Object.<anonymous> (/tests/unit/position/position_core.js:580:2)
Attachments (0)
Change History (4)

Changed May 27, 2014 09:39PM UTC by tj.vantoll comment:1

status: newopen

I can recreate the failure using jQuery 1.6.x. I looked into this briefly and I'm not exactly sure what's causing this.

Changed July 24, 2014 07:31PM UTC by scottgonzalez comment:2

Changed July 24, 2014 08:05PM UTC by Scott González comment:3

resolution: → fixed
status: openclosed

Position: Support positioning within document with jQuery 1.6.x

Fixes #10071

Closes gh-1294

Changeset: 9bb51d308e0a72bc67db948e92345c826a8f724d

Changed July 24, 2014 08:15PM UTC by scottgonzalez comment:4

milestone: none1.11.1
summary: Position test fails with jQuery 1.6.1 on "TypeError: width of undefined in cssHooks/outerWidth"Position fails on document containment with jQuery 1.6.1
version: git1.11.0