Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#10071 closed bug (fixed)

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:

Description

Position tests fail unconditionally in all browsers with jQuery 1.6.1

TestSwarm:

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)

Change History (4)

comment:1 Changed 3 years ago by tj.vantoll

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.

comment:3 Changed 3 years ago by Scott González

Resolution: fixed
Status: openclosed

Position: Support positioning within document with jQuery 1.6.x

Fixes #10071 Closes gh-1294

Changeset: 9bb51d308e0a72bc67db948e92345c826a8f724d

comment:4 Changed 3 years ago by Scott González

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
Note: See TracTickets for help on using tickets.