@@ -14,7 +14,7 @@ function isFocusable( selector, msg ) {
1414}
1515
1616function isNotFocusable ( selector , msg ) {
17- QUnit . push ( $ ( selector ) . length && ! $ ( selector ) . is ( ":focusable" ) , null , null ,
17+ QUnit . push ( $ ( selector ) . length && ! $ ( selector ) . is ( ":focusable" ) , null , null ,
1818 msg + " - selector " + selector + " is not focusable" ) ;
1919}
2020
@@ -85,7 +85,7 @@ test( "data", function() {
8585
8686 element = $ ( "<div>" ) . data ( "test" , function ( ) { } ) ;
8787 shouldHaveData ( "data set to function" ) ;
88- } ) ;
88+ } ) ;
8989
9090test ( "focusable - visible, enabled elements" , function ( ) {
9191 expect ( 18 ) ;
@@ -108,7 +108,7 @@ test( "focusable - visible, enabled elements", function() {
108108 isNotFocusable ( "#visibleAncestor-div" , "div" ) ;
109109 isFocusable ( "#visibleAncestor-spanWithTabindex" , "span with tabindex" ) ;
110110 isFocusable ( "#visibleAncestor-divWithNegativeTabindex" , "div with tabindex" ) ;
111- } ) ;
111+ } ) ;
112112
113113test ( "focusable - disabled elements" , function ( ) {
114114 expect ( 9 ) ;
@@ -122,7 +122,7 @@ test( "focusable - disabled elements", function() {
122122 isNotFocusable ( "#disabledElement-button" , "button" ) ;
123123 isNotFocusable ( "#disabledElement-select" , "select" ) ;
124124 isNotFocusable ( "#disabledElement-textarea" , "textarea" ) ;
125- } ) ;
125+ } ) ;
126126
127127test ( "focusable - hidden styles" , function ( ) {
128128 expect ( 8 ) ;
@@ -138,7 +138,7 @@ test( "focusable - hidden styles", function() {
138138
139139 isNotFocusable ( "#displayNone-span" , "span with tabindex, display: none" ) ;
140140 isNotFocusable ( "#visibilityHidden-span" , "span with tabindex, visibility: hidden" ) ;
141- } ) ;
141+ } ) ;
142142
143143test ( "focusable - natively focusable with various tabindex" , function ( ) {
144144 expect ( 4 ) ;
@@ -147,7 +147,7 @@ test( "focusable - natively focusable with various tabindex", function() {
147147 isFocusable ( "#inputTabindex10" , "input, tabindex 10" ) ;
148148 isFocusable ( "#inputTabindex-1" , "input, tabindex -1" ) ;
149149 isFocusable ( "#inputTabindex-50" , "input, tabindex -50" ) ;
150- } ) ;
150+ } ) ;
151151
152152test ( "focusable - not natively focusable with various tabindex" , function ( ) {
153153 expect ( 4 ) ;
@@ -156,21 +156,21 @@ test( "focusable - not natively focusable with various tabindex", function() {
156156 isFocusable ( "#spanTabindex10" , "span, tabindex 10" ) ;
157157 isFocusable ( "#spanTabindex-1" , "span, tabindex -1" ) ;
158158 isFocusable ( "#spanTabindex-50" , "span, tabindex -50" ) ;
159- } ) ;
159+ } ) ;
160160
161161test ( "focusable - area elements" , function ( ) {
162162 expect ( 3 ) ;
163163
164164 isFocusable ( "#areaCoordsHref" , "coords and href" ) ;
165165 isFocusable ( "#areaNoCoordsHref" , "href but no coords" ) ;
166166 isNotFocusable ( "#areaNoImg" , "not associated with an image" ) ;
167- } ) ;
167+ } ) ;
168168
169169test ( "focusable - dimensionless parent with overflow" , function ( ) {
170170 expect ( 1 ) ;
171171
172172 isFocusable ( "#dimensionlessParent" , "input" ) ;
173- } ) ;
173+ } ) ;
174174
175175test ( "tabbable - visible, enabled elements" , function ( ) {
176176 expect ( 18 ) ;
@@ -193,7 +193,7 @@ test( "tabbable - visible, enabled elements", function() {
193193 isNotTabbable ( "#visibleAncestor-div" , "div" ) ;
194194 isTabbable ( "#visibleAncestor-spanWithTabindex" , "span with tabindex" ) ;
195195 isNotTabbable ( "#visibleAncestor-divWithNegativeTabindex" , "div with tabindex" ) ;
196- } ) ;
196+ } ) ;
197197
198198test ( "tabbable - disabled elements" , function ( ) {
199199 expect ( 9 ) ;
@@ -207,7 +207,7 @@ test( "tabbable - disabled elements", function() {
207207 isNotTabbable ( "#disabledElement-button" , "button" ) ;
208208 isNotTabbable ( "#disabledElement-select" , "select" ) ;
209209 isNotTabbable ( "#disabledElement-textarea" , "textarea" ) ;
210- } ) ;
210+ } ) ;
211211
212212test ( "tabbable - hidden styles" , function ( ) {
213213 expect ( 8 ) ;
@@ -223,7 +223,7 @@ test( "tabbable - hidden styles", function() {
223223
224224 isNotTabbable ( "#displayNone-span" , "span with tabindex, display: none" ) ;
225225 isNotTabbable ( "#visibilityHidden-span" , "span with tabindex, visibility: hidden" ) ;
226- } ) ;
226+ } ) ;
227227
228228test ( "tabbable - natively tabbable with various tabindex" , function ( ) {
229229 expect ( 4 ) ;
@@ -232,7 +232,7 @@ test( "tabbable - natively tabbable with various tabindex", function() {
232232 isTabbable ( "#inputTabindex10" , "input, tabindex 10" ) ;
233233 isNotTabbable ( "#inputTabindex-1" , "input, tabindex -1" ) ;
234234 isNotTabbable ( "#inputTabindex-50" , "input, tabindex -50" ) ;
235- } ) ;
235+ } ) ;
236236
237237test ( "tabbable - not natively tabbable with various tabindex" , function ( ) {
238238 expect ( 4 ) ;
@@ -241,21 +241,21 @@ test( "tabbable - not natively tabbable with various tabindex", function() {
241241 isTabbable ( "#spanTabindex10" , "span, tabindex 10" ) ;
242242 isNotTabbable ( "#spanTabindex-1" , "span, tabindex -1" ) ;
243243 isNotTabbable ( "#spanTabindex-50" , "span, tabindex -50" ) ;
244- } ) ;
244+ } ) ;
245245
246246test ( "tabbable - area elements" , function ( ) {
247247 expect ( 3 ) ;
248248
249249 isTabbable ( "#areaCoordsHref" , "coords and href" ) ;
250250 isTabbable ( "#areaNoCoordsHref" , "href but no coords" ) ;
251251 isNotTabbable ( "#areaNoImg" , "not associated with an image" ) ;
252- } ) ;
252+ } ) ;
253253
254254test ( "tabbable - dimensionless parent with overflow" , function ( ) {
255255 expect ( 1 ) ;
256256
257257 isTabbable ( "#dimensionlessParent" , "input" ) ;
258- } ) ;
258+ } ) ;
259259
260260test ( "escapeSelector" , function ( ) {
261261 expect ( 1 ) ;
0 commit comments