Add inherit style case and not inherit style case