summaryrefslogtreecommitdiffstats
path: root/layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html')
-rw-r--r--layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html b/layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html
new file mode 100644
index 0000000000..f90e61da87
--- /dev/null
+++ b/layout/reftests/canvas/674003-alpha-radial-gradient-superlum-ref.html
@@ -0,0 +1,11 @@
+<body bgcolor="orange">
+ <canvas width="300" height="300" id="testcase-canvas-dest"></canvas>
+ <script>
+ const kTransparent = "rgba(0%, 100%, 100%, 0.5)";
+
+ cx2 = document.getElementById('testcase-canvas-dest').getContext('2d');
+ cx2.fillStyle = kTransparent;
+ cx2.fillRect(0,0,100,20);
+ </script>
+
+</window>