While Chrome is able to effectively contain an image within an overflow:hidden rounded div, Safari seems to struggle with this task as the overflow:hidden property does not seem to work properly.
Here is an example:
Below is the SASS code I am using:
.profile-image-container
position: relative
top: 3px
display: inline-block
cursor: pointer
.profile-image
width: 33px
height: 33px
display: block
position: relative
border: 2px solid $default-border-color
position: relative
top: -5px
border-radius: 50%
-moz-border-radius: 50%
-webkit-border-radius: 50%
overflow: hidden
HAML code:
.profile-image-container
.profile-image
=image_tag "avatar.jpg"
%span.status.online
%i.icon.icon-check-small
Fiddle: http://jsfiddle.net/LB2EQ/