mixed feelings about this... this really belongs to CSS so I'm somewhat reluctant to add JS tests. But integration tests would be difficult to do, right?