summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/filters-test-brightness-002.html
blob: 8be043047a99e8ebd552aa7545eae0aba9753e3c (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
<!DOCTYPE html>
<html>
<head>
    <title>CSS Writing Modes Test: drop-shadow offset test</title>
    <link rel="author" title="Jun Ichikawa" href="mailto:jun1ka0@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-brightness">
    <link rel="match" href="filters-ref-brightness-002.html">
    <meta name="assert" content="This test verifies that the brightness shorthand works. Black rectangle must shown,
    when brightness set 0%.">
    <style type="text/css">
        div.brightness_zero {
            width: 200px;
            height: 200px;
            background-color: rgb(255, 0, 0);
            filter: brightness(0%);
        }
    </style>
</head>
<body>
    <p>You should see a black rectangle and no red.</p>
    <div class="brightness_zero"></div>

</body>
</html>