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>
I cannot reproduce this with r85404. Did you actually test with a nightly build from <http://nightly.webkit.org/>?
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?
Please feel free to re-open if you can still reproduce in nightly builds.