Skip to content

Commit d5ef371

Browse files
committed
Update a test to reflect that IE11 supports the "hidden" HTML5 DOM attribute.
1 parent b651f52 commit d5ef371

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

javascript/atoms/test/shown_test.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,8 @@
340340

341341
function testCanNotSeeElementWithHiddenAttribute() {
342342
expectedFailures.expectFailureFor(
343-
goog.userAgent.IE || bot.userAgent.ANDROID_PRE_GINGERBREAD,
343+
(goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(11)) ||
344+
bot.userAgent.ANDROID_PRE_GINGERBREAD,
344345
'IE and Android Froyo do not understand hidden attribute');
345346
var elem = findElement({id: 'html5hidden'});
346347
expectedFailures.run(function() {

0 commit comments

Comments
 (0)