testing/web-platform/tests/css/CSS2/generated-content/content-075.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 with a 'attr()' function as a value selecting 'enctype'</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-075-ref.html" />
        <meta name="flags" content="" />
        <meta name="assert" content="The 'content' property properly handles the 'attr()' function when calling the attribute 'enctype'." />
        <style type="text/css">
            form:before
            {
                content: attr(enctype);
                color: green;
            }
            form
            {
                border: 2px solid black;
            }
        </style>
    </head>
    <body>
        <p>Test passes if the text "multipart/form-data" appear in the box below.</p>
        <form action="#" enctype="multipart/form-data">
            <div></div>
        </form>
    </body>
</html>