WebCore/manual-tests/css3-background-layer-count.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 04 Oct 2010 01:32:07 +0300
changeset 2 303757a437d3
parent 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037 Kit: 201039

<!DOCTYPE html>
<html>
    <head>
        <title>CSS Test: Number of background properties greater than number of background images</title>
        <style type="text/css">
            div
            {
                margin: 10px;
                width: 250px;
                height: 250px;
                border: thick solid black;
            }
            #test
            {
                background-image: url("resources/non-animated.gif"), url("resources/non-animated.gif"), url("resources/non-animated.gif");
                background-position: right bottom, right top, left bottom, left center, right center;
                background-repeat: no-repeat, no-repeat, repeat-x, repeat, repeat-y;
            }
            #reference
            {
                background-image: url("resources/non-animated.gif"), url("resources/non-animated.gif"), url("resources/non-animated.gif");
                background-position: right bottom, right top, left bottom;
                background-repeat: no-repeat, no-repeat, repeat-x;
            }
        </style>
    </head>
    <body>
        <p>Test passes if the contents of the black boxes look exactly the same.</p>
        <table>
            <td>
                <div id="test"></div>
            </td>
            <td>
                <div id="reference"></div>
            </td>
        </table>
    </body>
</html>