The css_is_valid trick doesn't work, so I had to undo this.