mbostock/d3 — pull request #618 by jasondavies (2012-04-19 09:38:31+00:00)
Title: Fix d3.svg.brush for IE9.

The problem with the old fix was the use of g.select(".background") instead of g.selectAll(".background"). This caused the background rect to get the parent's datum, overriding the initial datum of 0. The brush mouse handler checks the datum of the event target: a truthy datum means a resize action.

We didn't see this problem in the brush examples because the brush parent elements didn't use data binding.

I've also reverted to using pointer-events: none|null for the fix as this seems more appropriate than display: none|null.