Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!--
Any copyright is dedicated to the Public Domain.
-->
<!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>