Skip to content
  • thatcher's avatar
    LayoutTests: · 8991c154
    thatcher authored
            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: http://svn.webkit.org/repository/webkit/trunk@14701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    8991c154