size control defaults to range input on browsers that support it
turns into list mode on others