mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Tests: Blacklist the iframe scrollTop test in Opera 12.1x
This commit is contained in:
parent
f6dd76709a
commit
283a194955
@ -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" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user