I have a divbox style photo gallery with the following properties:
#lightbox { border: 0.3em solid #acaeb0; -webkit-border-radius: 1em; background: #eee -webkit-gradient(linear, 0% 60%, 0% 100%, from(#eee), to(#ccc)); -webkit-box-shadow: 0 0 0.6em 0.3em #888; }
The problem is that the resulting rounded corners look very ugly (using safari5):

The problem is the empty space in the rounded corner. Do you know how I can avoid this behavior?
EDIT: After adding the -webkit-background-clip: padding-box; it looks better, but not perfect:

I reduced the width of the frame, but it looks the same with thick borders. Should I set another property to make it look perfect?
EDIT2: This seems to be a web kit error: https://bugs.webkit.org/show_bug.cgi?id=21819
LeonS source share