summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1577566-1.html
blob: 3b8f0421ad675f9a145ba0fe93701438672afdc4 (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
32
33
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>Bug 1577566: The alpha channel should be clamped at the right time so that it doesn't bright colors.</title>

<style>

#box {
  width: 100px;
  height: 100px;
  background-color: black;
  filter: url(#filter);
}

</style>

<div id="box"></div>

<svg height="0">
  <defs>
    <filter id="filter" color-interpolation-filters="sRGB">
      <feColorMatrix type="matrix"
                     values="0 0 0 0 0
                             0 0 0 0 0.8
                             0 0 0 0 0
                             0 0 0 2 0"/>
    </filter>
  </defs>
</svg>