Merge "(Bug 44987) Allow n=form in plural syntax"
[lhc/web/wiklou.git] / tests / qunit / suites / resources / jquery / jquery.tabIndex.test.js
index e31fc63..1213793 100644 (file)
@@ -3,35 +3,33 @@
 
        QUnit.test( 'firstTabIndex', 2, function ( assert ) {
                var html, $testA, $testB;
-               html =
-       '<form>' +
-               '<input tabindex="7" />' +
-               '<input tabindex="9" />' +
-               '<textarea tabindex="2">Foobar</textarea>' +
-               '<textarea tabindex="5">Foobar</textarea>' +
-       '</form>';
+               html = '<form>' +
+                       '<input tabindex="7" />' +
+                       '<input tabindex="9" />' +
+                       '<textarea tabindex="2">Foobar</textarea>' +
+                       '<textarea tabindex="5">Foobar</textarea>' +
+                       '</form>';
 
                $testA = $( '<div>' ).html( html ).appendTo( '#qunit-fixture' );
                assert.strictEqual( $testA.firstTabIndex(), 2, 'First tabindex should be 2 within this context.' );
 
                $testB = $( '<div>' );
                assert.strictEqual( $testB.firstTabIndex(), null, 'Return null if none available.' );
-       });
+       } );
 
        QUnit.test( 'lastTabIndex', 2, function ( assert ) {
                var html, $testA, $testB;
-               html =
-       '<form>' +
-               '<input tabindex="7" />' +
-               '<input tabindex="9" />' +
-               '<textarea tabindex="2">Foobar</textarea>' +
-               '<textarea tabindex="5">Foobar</textarea>' +
-       '</form>';
+               html = '<form>' +
+                       '<input tabindex="7" />' +
+                       '<input tabindex="9" />' +
+                       '<textarea tabindex="2">Foobar</textarea>' +
+                       '<textarea tabindex="5">Foobar</textarea>' +
+                       '</form>';
 
                $testA = $( '<div>' ).html( html ).appendTo( '#qunit-fixture' );
                assert.strictEqual( $testA.lastTabIndex(), 9, 'Last tabindex should be 9 within this context.' );
 
                $testB = $( '<div>' );
                assert.strictEqual( $testB.lastTabIndex(), null, 'Return null if none available.' );
-       });
+       } );
 }( jQuery ) );