Changeset 51
- Timestamp:
- 01/09/08 12:46:35 (11 months ago)
- Location:
- collected/trunk/html-test-cases
- Files:
-
- 2 modified
-
setting-and-removing-tabindex.html (modified) (1 diff)
-
setting-and-removing-tabindex.xhtml (modified) (1 diff)
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 } -
collected/trunk/html-test-cases/setting-and-removing-tabindex.xhtml
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 }
