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:
But Chrome renders shadow outside the border:
Is it supposed to be so or I missed something important?


It looks like a known bug:
http://code.google.com/p/chromium/issues/detail?id=29427
Check out the bug discussion, you may find a workaround. Definitely Star this bug if you want it to be fixed sooner!