Closed Bug 503719 Opened 15 years ago Closed 15 years ago

outline is outside box-shadow

Categories

(Firefox :: General, defect)

3.5 Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 480888

People

(Reporter: lea, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729)

In Firefox 3.5 the outline is outside the shadow cast by -moz-box-shadow. This is inconsistent to both Webkit's implementation and the candidate specification ("By default, the outline is drawn starting just outside the border edge." from http://www.w3.org/TR/css3-ui/#outline-offset0).

Reproducible: Always

Steps to Reproduce:
1. Add outline to an element (for example outline:1px solid red;)
2. Add -moz-box-shadow to an element (for example -moz-box-shadow:1px 1px 5px black;)
Actual Results:  
The outline is drawn outside the shadow.

Expected Results:  
The outline should be drawn just outside the element's border edge.
Version: unspecified → 3.5 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.