I ran into this problem when trying to add rounded corners to some divs and can’t seem to find the solution. I’m using this css for the class assigned to the divs:
-moz-box-shadow: 0px 5px 5px #cccccc;
-webkit-box-shadow: 0px 5px 5px #cccccc;
box-shadow: 0px 5px 5px #cccccc;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
border-radius: 5px;
The following is how it shows up in Chrome, Safari and Opera:

And here is how it displays in Firefox and IE9:

It looks as if the background in Chrome and the others somehow clip over the the background color in the top border. The only css associated with the colored top border is:
border-top:8px solid #333333;
Any ideas?
Check this fiddle in various browsers:
http://jsfiddle.net/QVS9X/
When you remove
border-radius, everything goes back to normal. You may have discovered a bug in Webkit and Opera implementations ofborder-radius. Check if it hasn’t been reported and if not, you might want to report it :).[EDIT]
I’m quite certain this is a bug.
I’m positive it should be reported to both the Opera and Webkit teams.