I've noticed a strange bug when using jqGrid with inline editing in chrome. As rows are selected, the vertical padding grows by a pixel or two each time. I'm not sure what's causing this, but I've managed to condense it down to a simplified example:

<http://jsfiddle.net/3mrKD/>

**UPDATE**: simpler version without jqGrid: <http://jsfiddle.net/3mrKD/9/>

If you click back and forth between the two rows, you can make each row's height grow indefinitely. Chrome's inspector shows the extra space as padding, but the size doesn't match the metrics inspector value.

I can reproduce this reliably on the latest version of Chrome (26.0.1410.64 m) for both Windows and Mac, but not on any version of Firefox, IE 9 or 10, or Safari.

Does this look like a bug in one of the libraries I'm using? in Chrome?

![table cell with extra vertical padding](https://i.stack.imgur.com/0stJg.png)

HTML:

```
<table id="grid"></table>

```

CSS:

```
td { vertical-align: baseline; }

```

JavaScript:

```
var lastSelected;

$("#grid").jqGrid({
    datatype: "local",
    data: [{ id: 1, name: "Alice" }, { id: 2, name: "Bob" }],
    colModel: [
        {
            name: 'id'
        },
        {
            name: 'name',
            editable: true
        }
    ],
    onSelectRow: function(id) {
        if (id && id !== lastSelected) {
            $("#grid").jqGrid('restoreRow', lastSelected);
            $("#grid").jqGrid('editRow', id, true);
            lastSelected = id;
        }
    },
});

```