SpiderStrategies/escher — pull request #6 by scottoreilly (2012-09-08 18:57:53+00:00)
Title: I cleaned up several problems.  See description.

1) The logic for determining the size difference between the layers was incorrectly 2*bottomOffset. It should be topOffset - bottomOffset. This can be seen more clearly if you change the variables for the top and bottom offsets.

2) The base layer was being incorrectly resized to 10 pixels smaller than its cover rather than to the exact same height. This can be seen if you leave a shadow on the base layer.

3) The retreat on the second highest sheet was 20 pixels taller than it should have been. This was fixed by setting all of the escher stuff to box-sizing:border-box.

4) Rather than shrinking down a covered view to 0, it now sizes to the correct height.

5) If the underlying view divs had shadows, these shadows could still be seen after the content was being covered. I removed the shadows via a new CSS override class.