Skip to content

Commit

Permalink
Docs: Update leftover HTTP Trac URLs to HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
mgol committed Apr 26, 2024
1 parent f4a9788 commit 8e34aa6
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions tests/unit/draggable/core.js
Expand Up @@ -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 );
Expand Down Expand Up @@ -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();
Expand Down
10 changes: 5 additions & 5 deletions tests/unit/draggable/options.js
Expand Up @@ -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" );
} );
Expand Down Expand Up @@ -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" );
Expand Down Expand Up @@ -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" );
Expand Down Expand Up @@ -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" );

Expand Down
4 changes: 2 additions & 2 deletions tests/unit/droppable/options.js
Expand Up @@ -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
Expand Down Expand Up @@ -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 } );

Expand Down
10 changes: 5 additions & 5 deletions tests/unit/resizable/options.js
Expand Up @@ -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( {
Expand All @@ -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 } );

Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion ui/widgets/draggable.js
Expand Up @@ -386,7 +386,7 @@ $.widget( "ui.draggable", $.ui.mouse, {
o.appendTo ) );
}

// Http://bugs.jqueryui.com/ticket/9446
// https://bugs.jqueryui.com/ticket/9446
// a helper function can return the original element
// which wouldn't have been set to relative in _create
if ( helperIsFunction && helper[ 0 ] === this.element[ 0 ] ) {
Expand Down

0 comments on commit 8e34aa6

Please sign in to comment.