2010-07-13 Andreas Kling <andreas.kling@nokia.com>
authorandreas.kling@nokia.com <andreas.kling@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2010 11:04:53 +0000 (11:04 +0000)
committerandreas.kling@nokia.com <andreas.kling@nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Jul 2010 11:04:53 +0000 (11:04 +0000)
commit73ae190aa0322b05c0307ec4333b1268465e1556
tree05605ea83e53da96c4f670f8f5d61fd66c4832c9
parentac24a0d8b7d74ec03becb8439da767846b5b8c4a
2010-07-13  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Antti Koivisto.

        CSS3 background: Number of layers should be determined by background-image element count
        https://bugs.webkit.org/show_bug.cgi?id=41201

        Change FillLayer culling logic to discard all layers
        after the first one without an image set.

        Manual test: css3-background-layer-count.html

        * manual-tests/css3-background-layer-count.html: Added.
        * rendering/style/FillLayer.cpp:
        (WebCore::FillLayer::cullEmptyLayers):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@63192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/manual-tests/css3-background-layer-count.html [new file with mode: 0644]
WebCore/rendering/style/FillLayer.cpp