summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/filters-grayscale-001-test.html
blob: 40e49b60bea249d54280ea9e74a5cd5cbf5e31a5 (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
30
31
<!DOCTYPE html>
<html>
<head>
    <title>CSS Filter Test: Test grayscale shorthand with value 1</title>
    <link rel="author" title="Takaki Yasuma" href="mailto:takakiyasuma@gmail.com">
    <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/#funcdef-filter-grayscale">
    <link rel="match" href="filters-grayscale-001-ref.html">
    <meta name="assert" content="If the test runs, you should see a black olive colored rectangle.">
    <style type="text/css">

       div{
	       width: 200px;
	       height: 200px;
	       background-color: red;
	       filter: grayscale(1);
       }

    </style>
</head>

<body>

	<p>You should see a black olive colored rectangle.</p>

	<div></div>

</body>

</html>