Box-shadow and border-radius bug in Chrome

Posted by Klaster_1 on Stack Overflow See other posts from Stack Overflow or by Klaster_1
Published on 2010-05-30T06:15:36Z Indexed on 2010/05/30 6:22 UTC
Read the original article Hit count: 364

Hello,

I've been experimenting with CSS3 and found something strange. Heres's the part of DIV style:

border:#446429 solid 1px;
border-radius:15px;
-moz-border-radius:15px;
-webkit-border-radius:15px;
box-shadow:3px 0px 15px #000000 inset,0px 3px 15px #000000 inset;
-moz-box-shadow:3px 0px 15px #000000 inset,0px 3px 15px #000000 inset;
-webkit-box-shadow:3px 0px 15px #000000 inset,0px 3px 15px #000000 inset;

Rendering in Opera and Firefox are same and perfect:

alt text

But Chrome renders shadow outside the border:

alt text

Is it supposed to be so or I missed something important?

© Stack Overflow or respective owner

Related posts about google-chrome

Related posts about css3