Firefox bug (?):
box-shadow is included in area enveloped by outline

In testcase below, green is outline. In Firefox, rendered box-shadow is included in outlined area. In other browsers, element itself is outlined only, and position/size of outline does not depend on whether element has box-shadow.

Testcase

Lorem ipsum.