Permalink
Browse files

bugfix: inappropriate col header height in FF

  • Loading branch information...
1 parent 541d117 commit 53c7f61f5f4f9aa3c4e591422e3a8ee14d8ff066 @warpech warpech committed Jun 27, 2012
Showing with 5 additions and 1 deletion.
  1. +1 −0 benchmark/paste.js
  2. +3 −1 benchmark/paste_headers.js
  3. +1 −0 jquery.handsontable.js
View
@@ -3,6 +3,7 @@
*
* rev | date (dd.mm.yy) | performance | desc
* -----------------------------------------|-----------------|---------------------------------------|------------------------------------------------------
+ * b4b317377df93984d3c805299f99b9de89294a71 | 29.05.12 21:59 | 5.02 ops/sec ±1.56% (36 runs sampled) | add drag-down, copy-down, context menu
* b4b317377df93984d3c805299f99b9de89294a71 | 29.05.12 21:59 | 5.20 ops/sec ±1.93% (33 runs sampled) | add drag-down, copy-down, context menu
* d56dd43249a294d4838c97fad4bc92b27f4371b2 | 22.05.12 21:49 | 5.58 ops/sec ±1.43% (34 runs sampled) | optimize border appear
* d3ca342fa4e68f7daefec13e8d2215c836c58b71 | 15.05.12 10:43 | 5.73 ops/sec ±1.69% (35 runs sampled) | not changing className of each highlighted cell; instead use a div element beyond the table
@@ -3,6 +3,7 @@
*
* rev | date (dd.mm.yy) | performance | desc
* -----------------------------------------|-----------------|---------------------------------------|------------------------------------------------------
+ * xxx | 27.06.12 12:47 | 0.72 ops/sec ±1.52% (23 runs sampled) | after removing rowHeaders.clone() and allowing array input to setDataAtCell
* ddc33968f53a8767fb9e7e414bf09cd8bea8285e | 27.06.12 10:54 | XXX (crashes Firefox and Chrome) | initial benchmark forked from paste.html, with row/col headers added
*
* cheers
@@ -16,7 +17,8 @@ $(window).load(function () {
suite.add('Paste test', {
'defer': true,
- minSamples: 20,
+ minSamples: 1,
+ maxSamples: 1,
'fn': function (deferred) {
if (container) {
container.remove();
View
@@ -2400,6 +2400,7 @@ handsontable.ColumnHeader.prototype.create = function () {
tr = document.createElement('tr');
for (c = 0; c < this.instance.colCount + this.offset; c++) {
var th = document.createElement('th');
+ th.innerHTML = '&nbsp;<span class="small">&nbsp;</span>&nbsp;';
tr.appendChild(th);
}
this.instance.table.find('thead').empty().append(tr);

0 comments on commit 53c7f61

Please sign in to comment.