aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-04-26 17:28:11 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-04-26 17:28:11 +0200
commit8e34aa6155d2c0770962c42d49a696183fe6d80f (patch)
tree715d0c175ff5e0b6415f78b4a20bc2ac58aa80d2 /tests/unit
parentf4a97881ef3d8b8dc8e0ee2cddd3c362bd63f6f3 (diff)
downloadjquery-ui-8e34aa6155d2c0770962c42d49a696183fe6d80f.tar.gz
jquery-ui-8e34aa6155d2c0770962c42d49a696183fe6d80f.zip
Docs: Update leftover HTTP Trac URLs to HTTPS
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/draggable/core.js6
-rw-r--r--tests/unit/draggable/options.js10
-rw-r--r--tests/unit/droppable/options.js4
-rw-r--r--tests/unit/resizable/options.js10
4 files changed, 15 insertions, 15 deletions
diff --git a/tests/unit/draggable/core.js b/tests/unit/draggable/core.js
index b8be0fd20..debbcfba7 100644
--- a/tests/unit/draggable/core.js
+++ b/tests/unit/draggable/core.js
@@ -220,7 +220,7 @@ QUnit.test( "scroll offset with fixed ancestors", function( assert ) {
$( [ "hidden", "auto", "scroll" ] ).each( function() {
var overflow = this;
- // Http://bugs.jqueryui.com/ticket/9379 - position bug in scrollable div
+ // https://bugs.jqueryui.com/ticket/9379 - position bug in scrollable div
// https://bugs.jqueryui.com/ticket/10147 - Wrong position in a parent with "overflow: hidden"
QUnit.test( "position in scrollable parent with overflow: " + overflow, function( assert ) {
assert.expect( 2 );
@@ -306,13 +306,13 @@ QUnit.test( "blur behavior - handle is main element", function( assert ) {
testHelper.move( focusElement, 1, 1 );
- // Http://bugs.jqueryui.com/ticket/10527
+ // https://bugs.jqueryui.com/ticket/10527
// Draggable: Can't select option in modal dialog (IE8)
assert.strictEqual( document.activeElement, focusElement.get( 0 ), "test element is focused after mousing down on itself" );
testHelper.move( element, 50, 50 );
- // Http://bugs.jqueryui.com/ticket/4261
+ // https://bugs.jqueryui.com/ticket/4261
// active element should blur when mousing down on a draggable
assert.notStrictEqual( document.activeElement, focusElement.get( 0 ), "test element is no longer focused after mousing down on a draggable" );
ready();
diff --git a/tests/unit/draggable/options.js b/tests/unit/draggable/options.js
index 10f279037..c98c9f9d8 100644
--- a/tests/unit/draggable/options.js
+++ b/tests/unit/draggable/options.js
@@ -289,12 +289,12 @@ QUnit.test( "connectToSortable, dragging out of a sortable", function( assert )
assert.ok( Math.abs( result.top - offsetExpected.top ) < 0.25, "draggable offset is within 0.25 of expected" );
assert.ok( Math.abs( result.left - offsetExpected.left ) < 0.25, "draggable offset is within 0.25 of expected" );
- // Http://bugs.jqueryui.com/ticket/7734
+ // https://bugs.jqueryui.com/ticket/7734
// HTML IDs are removed when dragging to a Sortable
assert.equal( sortItem[ 0 ], dragHelper[ 0 ], "both have the same helper" );
assert.equal( sortItem.attr( "id" ), dragHelper.attr( "id" ), "both have the same id" );
- // Http://bugs.jqueryui.com/ticket/9481
+ // https://bugs.jqueryui.com/ticket/9481
// connectToSortable causes sortable revert to fail on second attempt
assert.equal( sortable.sortable( "option", "revert" ), 100, "sortable revert behavior is preserved" );
} );
@@ -374,7 +374,7 @@ QUnit.test( "connectToSortable, dragging multiple elements in and out of sortabl
moves: 10
} );
- // Http://bugs.jqueryui.com/ticket/9675
+ // https://bugs.jqueryui.com/ticket/9675
// Animation issue with revert and connectToSortable
sortable.one( "sortstop", function( event, ui ) {
assert.ok( !$.contains( document, ui.placeholder[ 0 ] ), "placeholder was removed" );
@@ -436,7 +436,7 @@ QUnit.test( "connectToSortable, dragging through a sortable", function( assert )
sortable = $( "#sortable2" ).sortable(),
sortableOffset = sortable.offset();
- // Http://bugs.jqueryui.com/ticket/10669
+ // https://bugs.jqueryui.com/ticket/10669
// Draggable: Position issue with connectToSortable
draggable.one( "dragstop", function() {
assert.equal( draggable.parent().attr( "id" ), "sortable", "restored draggable to original parent" );
@@ -1212,7 +1212,7 @@ QUnit.test( "snap, snapMode, and snapTolerance", function( assert ) {
} ),
element2 = $( "#draggable2" ).draggable();
- // Http://bugs.jqueryui.com/ticket/9724
+ // https://bugs.jqueryui.com/ticket/9724
// Draggable: Snapping coordinates thrown off by margin on draggable
element.css( "margin", "3px" );
diff --git a/tests/unit/droppable/options.js b/tests/unit/droppable/options.js
index 7cc765cf5..8fe82ac77 100644
--- a/tests/unit/droppable/options.js
+++ b/tests/unit/droppable/options.js
@@ -118,7 +118,7 @@ QUnit.test( "tolerance, intersect", function( assert ) {
height: 10,
position: "absolute",
- // Http://bugs.jqueryui.com/ticket/6876
+ // https://bugs.jqueryui.com/ticket/6876
// Droppable: droppable region is offset by draggables margin
marginTop: 3,
marginLeft: 3
@@ -187,7 +187,7 @@ QUnit.test( "tolerance, pointer", function( assert ) {
} );
} );
- // Http://bugs.jqueryui.com/ticket/4977 - tolerance, pointer - bug when pointer outside draggable
+ // https://bugs.jqueryui.com/ticket/4977 - tolerance, pointer - bug when pointer outside draggable
draggable.css( { top: 0, left: 0 } ).draggable( "option", "axis", "x" );
droppable.css( { top: 15, left: 15 } );
diff --git a/tests/unit/resizable/options.js b/tests/unit/resizable/options.js
index 3adef0da5..50b30ce7f 100644
--- a/tests/unit/resizable/options.js
+++ b/tests/unit/resizable/options.js
@@ -129,7 +129,7 @@ QUnit.test( "aspectRatio: 'preserve' (ne)", function( assert ) {
QUnit.test( "aspectRatio: Resizing can move objects", function( assert ) {
assert.expect( 7 );
- // Http://bugs.jqueryui.com/ticket/7018 - Resizing can move objects
+ // https://bugs.jqueryui.com/ticket/7018 - Resizing can move objects
var handleW = ".ui-resizable-w",
handleNW = ".ui-resizable-nw",
target = $( "#resizable1" ).resizable( {
@@ -146,7 +146,7 @@ QUnit.test( "aspectRatio: Resizing can move objects", function( assert ) {
assert.equal( target.height(), 100, "compare height - no size change" );
assert.equal( target.position().left, 75, "compare left - no movement" );
- // Http://bugs.jqueryui.com/ticket/9107 - aspectRatio and containment not handled correctly
+ // https://bugs.jqueryui.com/ticket/9107 - aspectRatio and containment not handled correctly
$( "#container" ).css( { width: 200, height: 300, position: "absolute", left: 100, top: 100 } );
$( "#resizable1" ).css( { width: 100, height: 100, left: 0, top: 0 } );
@@ -198,7 +198,7 @@ QUnit.test( "containment", function( assert ) {
QUnit.test( "containment - not immediate parent", function( assert ) {
assert.expect( 4 );
- // Http://bugs.jqueryui.com/ticket/7485 - Resizable: Containment calculation is wrong
+ // https://bugs.jqueryui.com/ticket/7485 - Resizable: Containment calculation is wrong
// when containment element is not the immediate parent
var element = $( "#child" ).resizable( {
containment: "#container2",
@@ -230,7 +230,7 @@ QUnit.test( "containment - not immediate parent", function( assert ) {
QUnit.test( "containment - immediate parent", function( assert ) {
assert.expect( 4 );
- // Http://bugs.jqueryui.com/ticket/10140 - Resizable: Width calculation is wrong when containment element is "position: relative"
+ // https://bugs.jqueryui.com/ticket/10140 - Resizable: Width calculation is wrong when containment element is "position: relative"
// when containment element is immediate parent
var element = $( "#child" ).resizable( {
containment: "parent",
@@ -327,7 +327,7 @@ QUnit.test( "grid - Resizable: can be moved when grid option is set (#9611)", fu
QUnit.test( "grid - maintains grid with padding and border when approaching no dimensions", function( assert ) {
assert.expect( 2 );
- // Http://bugs.jqueryui.com/ticket/10437 - Resizable: border with grid option working wrong
+ // https://bugs.jqueryui.com/ticket/10437 - Resizable: border with grid option working wrong
var handle = ".ui-resizable-nw",
target = $( "#resizable1" ).css( {
padding: 5,