summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/filter-external-002-test.html
blob: e365998c6a376f87865ff5de3036226053e0bd09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head>
    <title>CSS Filter Test: load external SVG Filter (svg file)</title>
    <link rel="author" title="Akihiro Oyamada" href="mailto:admin@yomotsu.net">
    <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
    <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#FilterProperty">
    <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#typedef-filter-url">
    <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#huerotateEquivalent">
    <link rel="match" href="filter-external-001-ref.html">
    <meta name="flags" content="svg">
    <meta name="assert" content="the test passes if you see green box.">
    <style type="text/css">
    div {
        width: 200px;
        height: 200px;
        background: red;
        filter: url( support/filter-external-002-filter.svg#filter );
    }

    </style>
</head>
<body>
    <p>You should see a green rectangle.</p>

    <div></div>

</body>
</html>