RESOLVED WORKSFORME 59913
Box-shadow does not respect z-index
https://bugs.webkit.org/show_bug.cgi?id=59913
Summary Box-shadow does not respect z-index
Matthew Hailwood
Reported 2011-05-01 20:25:48 PDT
If a box is given a z-index and applied a box-shadow elements higher in the dom tree appear lower than the z-indexed element but above the box-shadow. E.g: <div style="height:200px;background-color:#f00;">I am higher in the dom</div> <div style="z-index:999;height:200px; background-color: #0f0;box-shadow: 0px -5px 5px #000000;margin-top:-10px;">I am lower in the dom however I have a z-index, I am visible but my show is under the parent div...</div>
Attachments
Alexey Proskuryakov
Comment 1 2011-05-01 23:30:35 PDT
I cannot reproduce this with r85404. Did you actually test with a nightly build from <http://nightly.webkit.org/>?
Mihnea Ovidenie
Comment 2 2011-05-16 02:35:27 PDT
The problem can be reproduced with Safari 5.0.5 on Mac. However, using latest WebKit nightly(86505), the problem cannot be reproduced and WebKit behaves like the other browsers: FF4, Opera, Chrome on Mac. Again, what version of WebKit have you used to reproduce the problem?
Alexey Proskuryakov
Comment 3 2011-05-16 08:46:24 PDT
Please feel free to re-open if you can still reproduce in nightly builds.
Note You need to log in before you can comment on or make changes to this bug.