Open Bug 1050792 Opened 6 years ago Updated 2 years ago

Transparent DIV covers box-shadow when changing its zIndex in Firefox

Categories

(Core :: Web Painting, defect)

31 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: andy, Unassigned)

Details

Attachments

(1 file)

Attached file mozbug10.html
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446

Steps to reproduce:

Inserted a form input element with a box-shadow and a div within a div on a page. The div within a div (which is transparent) has its margin set to -11px and appears on top of the input's "box shadow".


Actual results:

When I change the div's zIndex the div within a div inherits a background color and covers the box shadow.


Expected results:

The div within a div should remain transparent.
Component: Untriaged → Layout: View Rendering
Product: Firefox → Core
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.