Bug 1087801 - Don't assume the global is a Window in the DOM CSS object. r=bholley, a=2.0+