summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/translate/reference/svg-translate-ex-unit-ref.html
blob: 297187d7532bd4c7a1f4cad37b34d652443f1cb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<head>
    <title>CSS Reftest Reference</title>
    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
    <meta name="flags" content="svg ahem">
    <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
    <style type="text/css">
    svg {
        width: 300px;
        height: 300px;
        line-height: 1;
        font: 50px Ahem;
    }
    </style>
</head>
<body>
    <p>The test passes if there is a green square and no red.</p>
    <svg>
        <rect x="40" y="40" width="100" height="100" fill="green"/>
    </svg>
</body>
</html>