Index: LayoutTests/svg/filters/feComposite-operator-lighter-expected.html |
diff --git a/LayoutTests/svg/filters/feComposite-operator-lighter-expected.html b/LayoutTests/svg/filters/feComposite-operator-lighter-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..561ade1582d32ad719ea2afd947e08d51e6ab86b |
--- /dev/null |
+++ b/LayoutTests/svg/filters/feComposite-operator-lighter-expected.html |
@@ -0,0 +1,19 @@ |
+<!doctype html> |
+<style>* { margin: 0; padding: 0; }</style> |
+<canvas id="canvas" width="200" height="200"></canvas> |
+<script> |
+var canvas = document.getElementById('canvas'); |
+var ctx = canvas.getContext('2d'); |
+var width = canvas.width; |
+var height = canvas.height; |
+ |
+ctx.globalCompositeOperation = 'lighter'; |
+ctx.fillStyle = '#f00'; |
+ctx.fillRect(0,0,width,height); |
+ |
+gradient = ctx.createLinearGradient(0, 0, 0, height); |
+gradient.addColorStop(0, "#0f0"); |
+gradient.addColorStop(1, "#00f"); |
+ctx.fillStyle = gradient; |
+ctx.fillRect(0, 0, width, height); |
+</script> |