Closed Bug 782345 Opened 12 years ago Closed 12 years ago

outline-offset and -moz-box-shadow padding conflict - non standard implementation

Categories

(Core :: CSS Parsing and Computation, defect)

14 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 480888

People

(Reporter: mark, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

Used the  outline and  outline-offset attributes on an <article> block to create an inner border  then added a moz-box-shadow to the article division

article {
        width: 500 px;
	outline: 1px solid #ccc;
	outline-offset: -4px;
        -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);

}




Actual results:

The code rendered correctly in several major browsers but did not render properly in Mozilla Firefox 14.0.1

The 10px spread on the -moz-box-shadow was added to outline-offset in FF only resulting in a border of 11px


Expected results:

the -4px border should have not been effected.
Component: Untriaged → Style System (CSS)
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.