@@ -133,7 +133,7 @@ QUnit.test( "focusable - disabled elements", function( assert ) {
133
133
} ) ;
134
134
135
135
QUnit . test ( "focusable - hidden styles" , function ( assert ) {
136
- assert . expect ( 12 ) ;
136
+ assert . expect ( 15 ) ;
137
137
138
138
assert . isNotFocusable ( "#displayNoneAncestor-input" , "input, display: none parent" ) ;
139
139
assert . isNotFocusable ( "#displayNoneAncestor-span" , "span with tabindex, display: none parent" ) ;
@@ -149,9 +149,13 @@ QUnit.test( "focusable - hidden styles", function( assert ) {
149
149
150
150
assert . isNotFocusable ( "#displayNone-input" , "input, display: none" ) ;
151
151
assert . isNotFocusable ( "#visibilityHidden-input" , "input, visibility: hidden" ) ;
152
+ assert . isNotFocusable ( "#visibilityCollapse-input" , "input, visibility: collapse" ) ;
152
153
153
154
assert . isNotFocusable ( "#displayNone-span" , "span with tabindex, display: none" ) ;
154
155
assert . isNotFocusable ( "#visibilityHidden-span" , "span with tabindex, visibility: hidden" ) ;
156
+ assert . isNotFocusable ( "#visibilityCollapse-span" , "span with tabindex, visibility: collapse" ) ;
157
+
158
+ assert . isNotFocusable ( "#visibilityCollapse-td" , "td with tabindex, visibility: collapse" ) ;
155
159
} ) ;
156
160
157
161
QUnit . test ( "focusable - natively focusable with various tabindex" , function ( assert ) {
0 commit comments