[Bug 20360] 2d.fillStyle.parse.rgb-eof.html & 2d.fillStyle.parse.rgba-eof.html missed a bracket

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20360

zqzhang <zhiqiang.zhang@intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|dave.null@w3.org            |zhiqiang.zhang@intel.com

--- Comment #1 from zqzhang <zhiqiang.zhang@intel.com> ---
diff --git a/tests/approved/canvas/2d.fillStyle.parse.rgb-eof.html
b/tests/approved/canvas/2d.fillStyle.parse.rgb-eof.html
--- a/tests/approved/canvas/2d.fillStyle.parse.rgb-eof.html
+++ b/tests/approved/canvas/2d.fillStyle.parse.rgb-eof.html
@@ -18,16 +18,16 @@
 <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL
(fallback content)</p></canvas>
 <p class="output expectedtext">Expected output:<p><img
src="2d.fillStyle.parse.rgb-eof.png" class="output expected" id="expected"
alt="">
 <ul id="d"></ul>
 <script>
 _addTest(function(canvas, ctx) {


 ctx.fillStyle = '#f00';
-ctx.fillStyle = 'rgb(0, 255, 0';
+ctx.fillStyle = 'rgb(0, 255, 0)';
 ctx.fillRect(0, 0, 100, 50);
 _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");


 });
 </script>

diff --git a/tests/approved/canvas/2d.fillStyle.parse.rgba-eof.html
b/tests/approved/canvas/2d.fillStyle.parse.rgba-eof.html
--- a/tests/approved/canvas/2d.fillStyle.parse.rgba-eof.html
+++ b/tests/approved/canvas/2d.fillStyle.parse.rgba-eof.html
@@ -18,16 +18,16 @@
 <canvas id="c" class="output" width="100" height="50"><p class="fallback">FAIL
(fallback content)</p></canvas>
 <p class="output expectedtext">Expected output:<p><img
src="2d.fillStyle.parse.rgba-eof.png" class="output expected" id="expected"
alt="">
 <ul id="d"></ul>
 <script>
 _addTest(function(canvas, ctx) {


 ctx.fillStyle = '#f00';
-ctx.fillStyle = 'rgba(0, 255, 0, 1';
+ctx.fillStyle = 'rgba(0, 255, 0, 1)';
 ctx.fillRect(0, 0, 100, 50);
 _assertPixel(canvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");


 });
 </script>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 12 December 2012 15:47:24 UTC