diff options
| author | Igor Minar | 2011-09-15 00:35:09 +0200 | 
|---|---|---|
| committer | Igor Minar | 2011-09-16 02:44:28 +0200 | 
| commit | 0d7fe97aff0d69fa9c72c6eb08d0dffc70359dae (patch) | |
| tree | 60bd62586299e84907f4d17953991bcb22b3e836 /test/jqLiteSpec.js | |
| parent | a2a830e2273f2cb114d1889d6dece171621b046c (diff) | |
| download | angular.js-0d7fe97aff0d69fa9c72c6eb08d0dffc70359dae.tar.bz2 | |
fix(jqLite): attr() should not special-case 'class' attribute
since jQuery 1.6 'class' is not treated specially, so we have to revert this fix and use className in tests instead
Diffstat (limited to 'test/jqLiteSpec.js')
| -rw-r--r-- | test/jqLiteSpec.js | 9 | 
1 files changed, 0 insertions, 9 deletions
diff --git a/test/jqLiteSpec.js b/test/jqLiteSpec.js index aac5aeb5..ed929cb7 100644 --- a/test/jqLiteSpec.js +++ b/test/jqLiteSpec.js @@ -168,15 +168,6 @@ describe('jqLite', function(){        var elm = jqLite('<div class="any">a</div>');        expect(elm.attr('non-existing')).toBeUndefined();      }); - -    it('should special-case "class" attribute', function() { -      // stupid IE9 returns null for element.getAttribute('class') when element has ng:class attr -      var elm = jqLite('<div class=" any " ng:class="dynCls">a</div>'); -      expect(elm.attr('class')).toBe(' any '); - -      elm.attr('class', 'foo  bar'); -      expect(elm.attr('class')).toBe('foo  bar'); -    });    });  | 
