I think we should remove this `if`.
Why should `this.cssClass` not get the new value of the className attribute if `this.cssClass` is initially empty?