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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>18588</bug_id>
          
          <creation_ts>2008-04-18 11:15:49 -0700</creation_ts>
          <short_desc>webkit fails to parse css color:rgb()</short_desc>
          <delta_ts>2008-04-29 09:19:27 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>18355</dup_id>
          
          <bug_file_loc>http://www.hixie.ch/tests/adhoc/css/parsing/006.html</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="Anantha Keesara">anantha</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78134</commentid>
    <comment_count>0</comment_count>
    <who name="Anantha Keesara">anantha</who>
    <bug_when>2008-04-18 11:15:49 -0700</bug_when>
    <thetext>Steps:
Go to
http://www.hixie.ch/tests/adhoc/css/parsing/006.html

Issue:
webkit fails to parse rgb() : .test { color: green; color: rgb(255, 1%, 1); }

Other browsers:
IE7 : not ok
FF3 beta : ok
Safari 3.1 : not ok
Opera 9.24 Build 8816 : ok


Nightly tested: r31446</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78142</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-04-18 12:26:00 -0700</bug_when>
    <thetext>I think this test is invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78144</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-04-18 12:32:50 -0700</bug_when>
    <thetext>CCing ian for comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78502</commentid>
    <comment_count>3</comment_count>
    <who name="Anatoli Papirovski">apapirovski</who>
    <bug_when>2008-04-21 22:05:05 -0700</bug_when>
    <thetext>It&apos;s not invalid, the values in RGB have to either all be percentage or all be normal... combinations of the two are not allowed. Webkit still parses the rgb(255, 1%, 1) and thus displays red instead of green.

From W3C CSS3 spec (and it&apos;s the same in CSS 2.1):

&quot;The format of an RGB value in the functional notation is &apos;rgb(&apos; followed by a comma-separated list of three numerical values (either three integer values or three percentage values) followed by &apos;)&apos;.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79223</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-04-29 09:19:27 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 18355 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>