Show
Ignore:
Timestamp:
01/09/08 12:46:35 (12 months ago)
Author:
simon
Message:

removed the IE specific "tabIndex" for Element.getAttributeNode() as it's not needed -- IE is fine with "tabindex"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • collected/trunk/html-test-cases/setting-and-removing-tabindex.html

    r46 r51  
    2121        log('setAttribute("tabIndex")' + (input.tabIndex == 2 ? " yes" : " no")); 
    2222} 
    23 function isIE(){ 
    24         return navigator.userAgent.indexOf("MSIE") != -1; 
    25 } 
    2623function hasTabindex(elem){ 
    27         var attr = elem.getAttributeNode(isIE() ? "tabIndex" : "tabindex"); 
     24        var attr = elem.getAttributeNode("tabindex"); 
    2825        return attr ? attr.specified : false; 
    2926}