Skip to content

Commit

Permalink
Disabled the IE8 specific tests in browsers.
Browse files Browse the repository at this point in the history
- It is meant for node, and emulates IE8 quirks.
- When the tests are running in browsers, the purpose is to explore THAT browser, and not how likely/easy it is to fake the quirks of other browsers.
- Also, it fails in browsers because you cannot set the offsetHeight of elements.
  • Loading branch information
fizker committed Jun 30, 2012
1 parent 7d5a8a1 commit 323f588
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/acceptance/ie8.spec.js
@@ -1,9 +1,16 @@
/**
* elements don't return width/height in getBoundingClientRect().
* -> use some weird css-style sniffing and calculation
* This test is only interesting in node, and is emulating
* some IE8 specific issues.
*
* In browsers, we want to test the actual browser, and not
* the quirks of other browsers.
*/

describe('acceptance/ie8.spec.js', function() {
// Return if not running in node.js.
if(typeof(module) !== 'object' || !module.exports) {
return;
}
var ctor = require('../helpers/date-picker')
, dp
, fakeFragment
Expand Down

0 comments on commit 323f588

Please sign in to comment.