added validation to text shadow element in css