mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Draggable Unit: Removed tests against undocumentated functionality
This commit is contained in:
parent
c8d7e4c592
commit
914d74c998
@ -260,13 +260,13 @@ test("{ cursorAt: false}, default", function() {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
test( "{ cursorAt: left, top }", function() {
|
test( "{ cursorAt: left, top }", function() {
|
||||||
expect( 16 );
|
expect( 12 );
|
||||||
|
|
||||||
var deltaX = -3,
|
var deltaX = -3,
|
||||||
deltaY = -3,
|
deltaY = -3,
|
||||||
tests = {
|
tests = {
|
||||||
"{ left: -5, top: -5 }": { x: -5, y: -5, cursorAt : { left: -5, top: -5 } },
|
"{ left: -5, top: -5 }": { x: -5, y: -5, cursorAt : { left: -5, top: -5 } },
|
||||||
"[ 10, 20 ]": { x: 10, y: 20, cursorAt : [ 10, 20 ] },
|
// "[ 10, 20 ]": { x: 10, y: 20, cursorAt : [ 10, 20 ] },
|
||||||
"{ left: 20, top: 40 }": { x: 20, y: 40, cursorAt : { left: 20, top: 40 } },
|
"{ left: 20, top: 40 }": { x: 20, y: 40, cursorAt : { left: 20, top: 40 } },
|
||||||
"{ right: 10, bottom: 20 }": { x: 10, y: 20, cursorAt : { right: 10, bottom: 20 } }
|
"{ right: 10, bottom: 20 }": { x: 10, y: 20, cursorAt : { right: 10, bottom: 20 } }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user