Changeset 1580
- Timestamp:
- 11/15/07 17:28:00 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/javascript-xpath/trunk/test/functional/logger.js
r1531 r1580 82 82 this.theadRow = document.createElement('tr'); 83 83 this.thead.appendChild(this.theadRow); 84 this.countCols = 0; 84 85 85 86 this.appendHeader('expression'); … … 92 93 this.count = 0; 93 94 this.id = id; 95 94 96 }; 95 97 … … 99 101 th.appendChild(document.createTextNode(label)); 100 102 this.theadRow.appendChild(th); 101 103 this.countCols++; 102 104 return th; 103 105 }, … … 132 134 } 133 135 136 }, 137 138 logFullSpan: function(content) { 139 var td, tr = document.createElement('tr'); 140 this.tbody.appendChild(tr); 141 td = document.createElement('td'); 142 td.appendChild(content); 143 tr.appendChild(td); 144 td.setAttribute("colSpan", this.countCols); 134 145 } 135 146 };
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)