<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20360</bug_id>
          
          <creation_ts>2012-12-12 15:43:48 +0000</creation_ts>
          <short_desc>2d.fillStyle.parse.rgb-eof.html &amp; 2d.fillStyle.parse.rgba-eof.html missed a bracket</short_desc>
          <delta_ts>2012-12-13 12:23:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>testsuite</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="zqzhang">zhiqiang.zhang</reporter>
          <assigned_to name="zqzhang">zhiqiang.zhang</assigned_to>
          <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>tmpsantos</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80011</commentid>
    <comment_count>0</comment_count>
    <who name="zqzhang">zhiqiang.zhang</who>
    <bug_when>2012-12-12 15:43:48 +0000</bug_when>
    <thetext>* http://w3c-test.org/html/tests/approved/canvas/2d.fillStyle.parse.rgb-eof.html
* http://w3c-test.org/html/tests/approved/canvas/2d.fillStyle.parse.rgba-eof.html

missed a bracket:

ctx.fillStyle = &apos;rgb(0,255,0&apos;; 
ctx.fillStyle = &apos;rgba(0,255,0,1&apos;;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80012</commentid>
    <comment_count>1</comment_count>
    <who name="zqzhang">zhiqiang.zhang</who>
    <bug_when>2012-12-12 15:47:21 +0000</bug_when>
    <thetext>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 @@
 &lt;canvas id=&quot;c&quot; class=&quot;output&quot; width=&quot;100&quot; height=&quot;50&quot;&gt;&lt;p class=&quot;fallback&quot;&gt;FAIL (fallback content)&lt;/p&gt;&lt;/canvas&gt;
 &lt;p class=&quot;output expectedtext&quot;&gt;Expected output:&lt;p&gt;&lt;img src=&quot;2d.fillStyle.parse.rgb-eof.png&quot; class=&quot;output expected&quot; id=&quot;expected&quot; alt=&quot;&quot;&gt;
 &lt;ul id=&quot;d&quot;&gt;&lt;/ul&gt;
 &lt;script&gt;
 _addTest(function(canvas, ctx) {
 
 
 ctx.fillStyle = &apos;#f00&apos;;
-ctx.fillStyle = &apos;rgb(0, 255, 0&apos;;
+ctx.fillStyle = &apos;rgb(0, 255, 0)&apos;;
 ctx.fillRect(0, 0, 100, 50);
 _assertPixel(canvas, 50,25, 0,255,0,255, &quot;50,25&quot;, &quot;0,255,0,255&quot;);
 
 
 });
 &lt;/script&gt;
 
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 @@
 &lt;canvas id=&quot;c&quot; class=&quot;output&quot; width=&quot;100&quot; height=&quot;50&quot;&gt;&lt;p class=&quot;fallback&quot;&gt;FAIL (fallback content)&lt;/p&gt;&lt;/canvas&gt;
 &lt;p class=&quot;output expectedtext&quot;&gt;Expected output:&lt;p&gt;&lt;img src=&quot;2d.fillStyle.parse.rgba-eof.png&quot; class=&quot;output expected&quot; id=&quot;expected&quot; alt=&quot;&quot;&gt;
 &lt;ul id=&quot;d&quot;&gt;&lt;/ul&gt;
 &lt;script&gt;
 _addTest(function(canvas, ctx) {
 
 
 ctx.fillStyle = &apos;#f00&apos;;
-ctx.fillStyle = &apos;rgba(0, 255, 0, 1&apos;;
+ctx.fillStyle = &apos;rgba(0, 255, 0, 1)&apos;;
 ctx.fillRect(0, 0, 100, 50);
 _assertPixel(canvas, 50,25, 0,255,0,255, &quot;50,25&quot;, &quot;0,255,0,255&quot;);
 
 
 });
 &lt;/script&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80013</commentid>
    <comment_count>2</comment_count>
    <who name="zqzhang">zhiqiang.zhang</who>
    <bug_when>2012-12-12 15:49:28 +0000</bug_when>
    <thetext>By manually running the tests after the patch above on Chrome Version 23.0.1271.95 m and Firefox 17.0.1, they passed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>