test spinner box gets the elements display style