]> source.dussan.org Git - jquery-ui.git/commitdiff
Core: Removed tests for .attr() ARIA override since the override no longer exists.
authorScott González <scott.gonzalez@gmail.com>
Wed, 21 Jul 2010 15:25:33 +0000 (11:25 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 21 Jul 2010 15:25:33 +0000 (11:25 -0400)
tests/unit/core/core.html
tests/unit/core/core.js

index 468c962e5eec4b46110850aaf90d427881bb881f..4141bcd0978fc1e756582bc51ca27e49ae39d37b 100644 (file)
                <span id="spanTabindex3foo" tabindex="3foo"></span>
        </div>
        
-       <div id="aria"></div>
-       
        <div id="zIndex100" style="z-index: 100; position: absolute">
                <div id="zIndexAutoWithParent"></div>
        </div>
index df811093bbfeab1cba21469ae0ddef0373fde722..6c550ce0ee86227211684403886d2ed716d03e8c 100644 (file)
@@ -5,26 +5,6 @@
 
 module('core - jQuery extensions');
 
-test("attr - aria", function() {
-       expect(6);
-
-       var el = $('#aria');
-
-       ok(!el.attr('role'), 'role is empty via attr');
-       equals(el.attr('role', 'tablist').attr('role'), 'tablist', 'role is tablist');
-
-       equals(el.attr('aria-expanded'), undefined, 'aria expanded is undefined');
-
-       el.attr('aria-expanded', true);
-       equals(el.attr('aria-expanded'), 'true', 'aria expanded is true');
-
-       el.removeAttr('aria-expanded');
-       equals(el.attr('aria-expanded'), undefined, 'aria expanded is undefined after removing');
-
-       el.attr('aria-expanded', false);
-       equals(el.attr('aria-expanded'), 'false', 'aria expanded is false');
-});
-
 test('focus', function() {
        expect(3);