Closed Bug 674137 Opened 14 years ago Closed 14 years ago

css outline does not appear correctly when the element has box-shadow

Categories

(Firefox :: General, defect)

7 Branch
All
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 480888

People

(Reporter: chrishenry.ni, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30 Steps to reproduce: 1) Open Firefox (I tested with Aurora in Linux) 2) Open a test page as follow: <!doctype html> <html> <head> <title>Outline test</title> <style> .test { background: #ccc; height: 100px; margin: 50px; outline: 1px solid #000; width: 100px; } .test2 { -moz-box-shadow: 0 5px 5px red; box-shadow: 0 5px 5px red; } </style> </head> <body> <div class="test" tabindex="0"></div> <div class="test test2" tabindex="0"></div> </body> </html> Actual results: Look at the outline on the second div (with box-shadow). The outline appears outside the box-shadow, which is unexpected. Expected results: The outline should appear just outside the element (at the inner edge of the box-shadow).
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: