2008-05-14 David Hyatt <hyatt@apple.com>
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 May 2008 22:07:56 +0000 (22:07 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 May 2008 22:07:56 +0000 (22:07 +0000)
commit081287bebb158155f1bd99347a22d8a468f7bb93
tree0992b24c0fb6d12d169dd7244b5aed06c830bbc4
parentb626b0ee2c24762ecf5f8e181e68ce5be5de445f
2008-05-14  David Hyatt  <hyatt@apple.com>

        Fix for bug https://bugs.webkit.org/show_bug.cgi?id=16130.

        Opacity, transforms, reflections and masks should not honor z-index unless the element is also
        positioned.  Always reset to auto if the element is not positioned (and then the following code will
        adjust auto to 0 as needed).

        Reviewed by Dan Bernstein

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::adjustRenderStyle):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@33458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/fast/layers/opacity-stacking.html [new file with mode: 0644]
LayoutTests/platform/mac/fast/layers/opacity-stacking-expected.txt [new file with mode: 0644]
WebCore/ChangeLog
WebCore/css/CSSStyleSelector.cpp