New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 40 users

Issue metadata

Status: Duplicate
Merged: issue 29427
OOO until NaN
Closed: Jun 2010
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

  • Only users with EditIssue permission may comment.

Sign in to add a comment

Issue 46212: border radius/box-shadow problem (CSS 3)

Reported by, Jun 9 2010

Issue description

Chrome Version       : 5.0.375.55 (0)
URLs (if applicable) :
Other browsers tested: Firefox/IE
Add OK or FAIL after other browsers where you have tested this issue:
Safari 4:
  Firefox 3.x: 3.6.3 (Note: uses -moz-box-shadow and -moz-border-radius)
         IE 7: NA
         IE 8: NA (IE doesn't support css3 stuff)

What steps will reproduce the problem?
Give a div an inset box shadow and a border radius.

What is the expected result?
The inset box shadow should be masked/bounded by the border radius.

What happens instead?
The box shadow sticks to the inside of the cornered 200px by 200px block  and blends into block rather than matching the corner radius.

Please provide any additional information below. Attach a screenshot if

Screenshot references provided for comparison between ff, chromium. 
Used the css/html below. Visually, difference is pretty obvious.

reference CSS:
	float: left;
	height: 240px;
	width: 240px;
	background-color: white;
	margin: 20px;
	width: 200px;
	height: 200px;
	background-color: yellow;
	-webkit-border-radius: 25px; 
	-moz-border-radius: 25px; 
	-webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,.5);
	-moz-box-shadow: inset 0 3px 8px rgba(0,0,0,.5);


reference html:
<div class='demo2'> <div class='demo'> </div> </div>
3.0 KB View Download
3.1 KB View Download

Comment 1 by, Jun 12 2010

Labels: -Area-Undefined Area-WebKit

Comment 2 by, Jun 15 2010

Labels: Mstone-6
Status: Untriaged

Comment 3 by, Jun 18 2010

Labels: Fidelity WebKit-Core

Comment 4 by, Jun 20 2010

Comment 5 by, Jun 20 2010

 Issue 25334  has been merged into this issue.

Comment 6 by, Jun 20 2010

Mergedinto: 29427
Status: Duplicate

Comment 7 by, Oct 12 2012

Project Member
Labels: Restrict-AddIssueComment-Commit
Mergedinto: chromium:29427
This issue has been closed for some time. No one will pay attention to new comments.
If you are seeing this bug or have new data, please click New Issue to start a new bug.

Comment 8 by, Mar 10 2013

Project Member
Labels: -Area-WebKit -Mstone-6 -WebKit-Core Cr-Content M-6 Cr-Content-Core

Comment 9 by, Mar 13 2013

Project Member
Labels: -Restrict-AddIssueComment-Commit Restrict-AddIssueComment-EditIssue

Comment 10 by, Apr 6 2013

Project Member
Labels: -Cr-Content Cr-Blink

Sign in to add a comment