Changeset 37 for collected/trunk/html-test-cases/getting-tabindex.html
- Timestamp:
- 12/17/07 08:07:26 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
collected/trunk/html-test-cases/getting-tabindex.html
r36 r37 45 45 this.log(desc, 'elem.attributes["' + attr + '"].nodeValue', 46 46 node.nodeValue); 47 this.log(desc, 'elem.attributes["' + attr + '"].specified', 48 node.specified); 47 49 }else{ 48 50 this.log(desc, 'elem.attributes["' + attr + '"]', node); 51 } 52 }; 53 Logger.prototype.logGetAttributeNode = function(id, desc, attr){ 54 var node = document.getElementById(id).getAttributeNode(attr); 55 if(node){ 56 this.log(desc, 'elem.getAttributeNode("' + attr + '").nodeValue', 57 node.nodeValue); 58 this.log(desc, 'elem.getAttributeNode("' + attr + '").specified', 59 node.specified); 60 }else{ 61 this.log(desc, 'elem.getAttributeNode("' + attr + '")', node); 49 62 } 50 63 }; … … 66 79 this.logAttributes(id, desc, "tabindex"); 67 80 this.logAttributes(id, desc, "tabIndex"); 81 this.logGetAttributeNode(id, desc, "tabindex"); 82 this.logGetAttributeNode(id, desc, "tabIndex"); 68 83 }; 69 84 function isIE(){
