<!doctype html>
<html>
    <head>
        <style>
            p { /* Ref-test must fix into 800*600, keep the margins small. */
                margin: 2px;
            }

            [data-webkit] {
                background-color: lightgrey;
                color: blue;
                border: none;
            }

            [data-webkit$="CKS!" i] {
                color: white;
            }
            [data-webkit$="cks!"] {
                color: red;
            }

            [data-webkit*="oa" i] {
                border: 5px dashed orange;
                background-color: lime;
            }
            [data-webkit*="oa"] {
                border: 2px solid purple;
            }

            /* This rule is invalid. */
            [data-webkit i] {
                background-color: red;
            }
        </style>
    </head>
    <body>
        <p>This test verify basic styling of element using case-insensitive attribute value matching (e.g. [foo=bar i]). If the test succeed, each paragraph should be styled according to its description.</p>
        <p data-webkit>Light grey background, blue text, no border.</p>
        <p data-webkit="ROCKS!">Light grey background, white text, no border.</p>
        <p data-webkit="rocks!">Light grey background, red text, no border.</p>
        <p data-webkit="Rocks!">Light grey background, red text, no border.</p>

        <p data-webkit="ROCKS">Light grey background, blue text, no border.</p>
        <p data-webkit="rocks">Light grey background, blue text, no border.</p>
        <p data-webkit="Rocks">Light grey background, blue text, no border.</p>

        <p data-webkit="roar">Green background, blue text, solid purple border.</p>
        <p data-webkit="Roar">Green background, blue text, solid purple border.</p>
        <p data-webkit="ROAR">Green background, blue text, dashed orange border.</p>
    </body>
</html>