diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2015-11-16 22:16:10 +0100 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-11-16 22:16:10 +0100 |
commit | 283a1949550e1bf1284ddf89a472b3c8b4a97c60 (patch) | |
tree | ce21798c34483b867809ed0267d0d6590c0e4d21 /test | |
parent | f6dd76709a4173be5e8d45c3f901a330f751c382 (diff) | |
download | jquery-283a1949550e1bf1284ddf89a472b3c8b4a97c60.tar.gz jquery-283a1949550e1bf1284ddf89a472b3c8b4a97c60.zip |
Tests: Blacklist the iframe scrollTop test in Opera 12.1x
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/offset.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/offset.js b/test/unit/offset.js index ff1f02099..11b4feb97 100644 --- a/test/unit/offset.js +++ b/test/unit/offset.js @@ -575,9 +575,11 @@ QUnit.test( "iframe scrollTop/Left (see gh-1945)", function( assert ) { // Mobile Safari and Android 2.3 resize the iframe by its content // meaning it's not possible to scroll the iframe only its parent element. // It seems (not confirmed) in android 4.0 it's not possible to scroll iframes from the code. + // Opera 12.1x also has problems with this test. if ( /iphone os/i.test( navigator.userAgent ) || /android 2\.3/i.test( navigator.userAgent ) || - /android 4\.0/i.test( navigator.userAgent ) ) { + /android 4\.0/i.test( navigator.userAgent ) || + /opera.*version\/12\.1/i.test( navigator.userAgent ) ) { assert.equal( true, true, "Can't scroll iframes in this environment" ); assert.equal( true, true, "Can't scroll iframes in this environment" ); |