- Timestamp:
- 01/09/08 12:46:35 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
collected/trunk/html-test-cases/setting-and-removing-tabindex.html
r46 r51 21 21 log('setAttribute("tabIndex")' + (input.tabIndex == 2 ? " yes" : " no")); 22 22 } 23 function isIE(){24 return navigator.userAgent.indexOf("MSIE") != -1;25 }26 23 function hasTabindex(elem){ 27 var attr = elem.getAttributeNode( isIE() ? "tabIndex" :"tabindex");24 var attr = elem.getAttributeNode("tabindex"); 28 25 return attr ? attr.specified : false; 29 26 }
