Permalink
Browse files

Updated tests and documentation of test results

  • Loading branch information...
Christopher Blum
Christopher Blum committed Dec 26, 2010
1 parent e8c88b0 commit 05e9e64beffc1c83de7b730a93ebaccaca0fb26d
Showing with 14 additions and 13 deletions.
  1. +4 −3 README.textile
  2. 0 example/{extended_example.html → advanced.html}
  3. +10 −10 test/test.js
View
@@ -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
File renamed without changes.
View
@@ -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) {

0 comments on commit 05e9e64

Please sign in to comment.