Whitespace in HTML

I forget this about once a year. These two kinds of markup do not render equivalently:

<div>
<span></span>
</div>

<div><span></span></div>

The problem is the whitespace in the line breaks; those get rendered. In Chrome, they seem to add 1 pixel of spacing.