Bug 37244: thead in table without tbody causes table height doubling

There should not be any gap between the tables' border and the rows'.

height = 20px

A B C D

A B C D

height = 19px, font-size = 10px

A B C D

A B C D