LayoutTests:
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2006 01:15:11 +0000 (01:15 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 3 Jun 2006 01:15:11 +0000 (01:15 +0000)
commit9322f91b286e3055f66b44d192b4b457ac863aff
tree01f57bbc1b9d0aa89d0d4216fc1d8d95e6875277
parentbcc86947784f88fa2beb7565b81f187aad03c624
LayoutTests:

        Reviewed by Hyatt, checked in by Tim H.

        For: http://bugzilla.opendarwin.org/show_bug.cgi?id=9115
        Added test case to test opacity layers, in particular, opacities
        with a value of zero.

       * fast/css/ZeroOpacityLayers.html: Added.
       * fast/css/ZeroOpacityLayers-expected.txt: Added.
       * fast/css/ZeroOpacityLayers-expected.png: Added.
       * fast/css/ZeroOpacityLayers-expected.checksum: Added.
       * fast/css/ZeroOpacityLayers2.html: Added.
       * fast/css/ZeroOpacityLayers2-expected.txt: Added.
       * fast/css/ZeroOpacityLayers2-expected.png: Added.
       * fast/css/ZeroOpacityLayers2-expected.checksum: Added.

WebCore:

        Reviewed by Hyatt, checked in by Tim H.

        fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=9115
        Changed RenderLayer to only render layers that are not
        totally transparent.

        * rendering/RenderLayer.cpp
        (RenderLayer::paintLayer):
        Changed function to also check if the layer is totally transparent
        and if it is, don't bother painting it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/css/ZeroOpacityLayers-expected.checksum [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers-expected.png [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers.html [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers2-expected.checksum [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers2-expected.png [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers2-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/ZeroOpacityLayers2.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/rendering/RenderLayer.cpp