diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 00:11:21 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 08:06:23 -0400 |
commit | 9ef84a6bf0a4a1d9df62a4427d0e826d91d1606b (patch) | |
tree | 4eb1005936941a7795e1412771ca07820e87b2c8 /tests/unit | |
parent | f75c8761cb7d4e6fca39c4b7cedf2442a8bc260a (diff) | |
download | jquery-ui-9ef84a6bf0a4a1d9df62a4427d0e826d91d1606b.tar.gz jquery-ui-9ef84a6bf0a4a1d9df62a4427d0e826d91d1606b.zip |
Dialog: Style updates
Ref #14246
Ref gh-1588
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/dialog/common-deprecated.js | 2 | ||||
-rw-r--r-- | tests/unit/dialog/common.js | 2 | ||||
-rw-r--r-- | tests/unit/dialog/core.js | 2 | ||||
-rw-r--r-- | tests/unit/dialog/events.js | 2 | ||||
-rw-r--r-- | tests/unit/dialog/options.js | 6 |
5 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/dialog/common-deprecated.js b/tests/unit/dialog/common-deprecated.js index 69153039c..26f7cb201 100644 --- a/tests/unit/dialog/common-deprecated.js +++ b/tests/unit/dialog/common-deprecated.js @@ -36,7 +36,7 @@ common.testWidget( "dialog", { title: null, width: 300, - // callbacks + // Callbacks beforeClose: null, close: null, create: null, diff --git a/tests/unit/dialog/common.js b/tests/unit/dialog/common.js index 8722d1753..b1884b8cc 100644 --- a/tests/unit/dialog/common.js +++ b/tests/unit/dialog/common.js @@ -35,7 +35,7 @@ common.testWidget( "dialog", { title: null, width: 300, - // callbacks + // Callbacks beforeClose: null, close: null, create: null, diff --git a/tests/unit/dialog/core.js b/tests/unit/dialog/core.js index 1560c34ac..b351b0aeb 100644 --- a/tests/unit/dialog/core.js +++ b/tests/unit/dialog/core.js @@ -224,7 +224,7 @@ asyncTest( "Prevent tabbing out of dialogs", function() { function checkTab() { equal( document.activeElement, inputs[ 0 ], "Tab key event moved focus within the modal" ); - // check shift tab + // Check shift tab $( document.activeElement ).simulate( "keydown", { keyCode: $.ui.keyCode.TAB, shiftKey: true }); setTimeout( checkShiftTab ); } diff --git a/tests/unit/dialog/events.js b/tests/unit/dialog/events.js index 13c452501..8a56699ab 100644 --- a/tests/unit/dialog/events.js +++ b/tests/unit/dialog/events.js @@ -76,7 +76,7 @@ test( "focus", function() { other.dialog( "moveToTop" ); element.trigger( "mousedown" ); - // triggers just once when already on top + // Triggers just once when already on top element.dialog( "open" ); element.dialog( "moveToTop" ); element.trigger( "mousedown" ); diff --git a/tests/unit/dialog/options.js b/tests/unit/dialog/options.js index c4f1b3e15..aa659f041 100644 --- a/tests/unit/dialog/options.js +++ b/tests/unit/dialog/options.js @@ -344,7 +344,7 @@ test("minWidth", function( assert ) { test( "position, default center on window", function( assert ) { expect( 2 ); - // dialogs alter the window width and height in Firefox + // Dialogs alter the window width and height in Firefox // so we collect that information before creating the dialog // Support: Firefox var winWidth = $( window ).width(), @@ -360,7 +360,7 @@ test( "position, default center on window", function( assert ) { test( "position, right bottom at right bottom via ui.position args", function( assert ) { expect( 2 ); - // dialogs alter the window width and height in Firefox + // Dialogs alter the window width and height in Firefox // so we collect that information before creating the dialog // Support: Firefox var winWidth = $( window ).width(), @@ -469,7 +469,7 @@ test( "title", function() { equal( titleText(), "foo", "title after init" ); element.remove(); - // make sure attroperties are properly ignored - #5742 - .attr() might return a DOMElement + // Make sure attroperties are properly ignored - #5742 - .attr() might return a DOMElement element = $( "<form><input name='title'></form>" ).dialog(); // some browsers return a non-breaking space and some return " " // so we get the text to normalize to the actual non-breaking space |