testing/web-platform/tests/css/CSS2/generated-content/content-013.xht
author James Graham <james@hoppipolla.co.uk>
Wed, 03 Jan 2018 16:24:44 +0000
changeset 450154 049f8d7499d7cecc60e532dfd8a74db553fa89e3
parent 418665 e860f6becefb1237a3bc7625f7f4a45260fbcb86
permissions -rw-r--r--
Bug 1429043 - Update web-platform-tests to revision 4de5305adf3d33badc23952672bcf28168fea37e, a=testonly MozReview-Commit-ID: 8hFZiSUb5Qr

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>CSS Test: Content using a 'counter()' function with a list style set to 'lower-greek'</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-content" />
        <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" />
        <link rel="match" href="content-013-ref.html" />
        <meta name="flags" content="" />
        <meta name="assert" content="The 'content' property properly handles a 'counter()' function with a list-style." />
        <style type="text/css">
            div:before
            {
                counter-increment: test;
                content: counter(test, lower-greek);
            }
            div
            {
                border: 2px solid black;
                height: 30px;
            }
        </style>
    </head>
    <body>
        <p>Test passes if there is a greek letter "&#x03B1;" in the box below.</p>
        <div></div>
    </body>
</html>