summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/filter-effects/filters-test-brightness-001.html
blob: 0ea903f71e05c4cc14a2513ccaac8b09c9e53d5a (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
<!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="reviewer" title="Rebecca Hauck" href="mailto:rhauck@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-001.html">
    <meta name="assert" content="This test verifies that the brightness shorthand works. Green rectangle must shown,
    when brightness set to 100%.">
    <style type="text/css">

        div.brightness_hundred {
            width: 200px;
            height: 200px;
            background-color: rgb(0, 255, 0);
            filter: brightness(100%);
        }
    </style>
</head>
<body>
    <p>You should see green rectangle.</p>
    <div class="brightness_hundred"></div>

</body>
</html>