[BUGFIX release] Throws an assertion if `classNameBingdings` are specified on a tag-less view

Fixes #9418