summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/1577566-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/1577566-1.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/bugs/1577566-1.html b/layout/reftests/bugs/1577566-1.html
new file mode 100644
index 0000000000..3b8f0421ad
--- /dev/null
+++ b/layout/reftests/bugs/1577566-1.html
@@ -0,0 +1,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>