Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated tests and documentation of test results

  • Loading branch information...
commit 05e9e64beffc1c83de7b730a93ebaccaca0fb26d 1 parent e8c88b0
Christopher Blum authored
View
7 README.textile
@@ -111,9 +111,10 @@ h4. The Test Suite succeeds in the following browsers that were tested:
* Chrome 7+
* Opera 10+
* IE 6+
+* Mobile Safari on iPad 4.2.2
+* Fennec 4b on Android 2.2
+* Opera Mobile 10.1b on Android 2.2
h4. The Test Suite doesn't completely succeed but the demos in this repository work without problems in the following browsers:
-* Mobile WebKit on Android 2.2 _(7 of 19 tests fail)_
-* Fennec 4b on Android 2.2 _(3 of 19 tests fail)_
-* Mobile Safari on iPad 4.2.2 _(6 of 19 tests fail)_
+* Mobile WebKit on Android 2.2
View
0  example/extended_example.html → example/advanced.html
File renamed without changes
View
20 test/test.js
@@ -178,13 +178,13 @@ test('Check visiblePartX & visiblePartY parameters #1', function() {
stop(2000);
this.element.css({
- right: '-25px',
- bottom: '-25px'
+ top: '-25px',
+ left: '-25px'
}).appendTo('body');
this.element.bind('inview', function(event, isInView, visiblePartX, visiblePartY) {
- equals(visiblePartX, 'left', 'visiblePartX has correct value');
- equals(visiblePartY, 'top', 'visiblePartY has correct value');
+ equals(visiblePartX, 'right', 'visiblePartX has correct value');
+ equals(visiblePartY, 'bottom', 'visiblePartY has correct value');
start();
});
});
@@ -195,13 +195,13 @@ test('Check visiblePartX & visiblePartY parameters #2', function() {
stop(2000);
this.element.css({
- right: '0',
- bottom: '-25px'
+ top: '0',
+ left: '-25px'
}).appendTo('body');
this.element.bind('inview', function(event, isInView, visiblePartX, visiblePartY) {
- equals(visiblePartX, 'both', 'visiblePartX has correct value');
- equals(visiblePartY, 'top', 'visiblePartY has correct value');
+ equals(visiblePartX, 'right', 'visiblePartX has correct value');
+ equals(visiblePartY, 'both', 'visiblePartY has correct value');
start();
});
});
@@ -212,8 +212,8 @@ test('Check visiblePartX & visiblePartY parameters #3', function() {
stop(2000);
this.element.css({
- right: '0',
- bottom: '0'
+ top: '0',
+ left: '0'
}).appendTo('body');
this.element.bind('inview', function(event, isInView, visiblePartX, visiblePartY) {
Please sign in to comment.
Something went wrong with that request. Please try again.