Index: LayoutTests/svg/filters/feComposite.svg |
diff --git a/LayoutTests/svg/filters/feComposite.svg b/LayoutTests/svg/filters/feComposite.svg |
index b053d51b37719937887edfd8c08328c7675929c0..ac58337689252df65b7790750cc67109e453bc7a 100644 |
--- a/LayoutTests/svg/filters/feComposite.svg |
+++ b/LayoutTests/svg/filters/feComposite.svg |
@@ -32,6 +32,11 @@ |
<feFlood flood-color="#00f" flood-opacity="0.5" result="res2" x="25%" y="25%" width="75%" height="75%"/> |
<feComposite in2="res1" in="res2" operator="arithmetic" k1=".5" k2=".5" k3=".5" k4=".5"/> |
</filter> |
+<filter id="lighter" filterUnits="objectBoundingBox" primitiveUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%"> |
+ <feFlood flood-color="#f00" flood-opacity="0.5" result="res1" x="0%" y="0%" width="75%" height="75%"/> |
+ <feFlood flood-color="#00f" flood-opacity="0.5" result="res2" x="25%" y="25%" width="75%" height="75%"/> |
+ <feComposite in2="res1" in="res2" operator="lighter"/> |
+</filter> |
</defs> |
<rect x="10" y="10" width="50" height="50" filter="url(#over)"/> |
<text x="10" y="90">over</text> |
@@ -45,4 +50,6 @@ |
<text x="70" y="190">xor</text> |
<rect x="130" y="110" width="50" height="50" filter="url(#arithmetic)"/> |
<text x="130" y="190">arithmetic</text> |
+<rect x="200" y="110" width="50" height="50" filter="url(#lighter)"/> |
+<text x="210" y="190">lighter</text> |
</svg> |