<?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>28079</bug_id>
          
          <creation_ts>2009-08-07 11:57:35 -0700</creation_ts>
          <short_desc>Test / Verification required for fast/forms/menulist-style-color.html</short_desc>
          <delta_ts>2009-12-27 18:10:29 -0800</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>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="Mike Fenton">mifenton</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mjs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>138023</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Fenton">mifenton</who>
    <bug_when>2009-08-07 11:57:35 -0700</bug_when>
    <thetext>This new test is currently being skipped for both windows and mac which generate the same results file.

The current results generated are:

layer at (0,0) size 800x600
  RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
  RenderBlock {HTML} at (0,0) size 800x600
    RenderBody {BODY} at (8,8) size 784x584
      RenderMenuList {SELECT} at (2,2) size 70x18 [bgcolor=#FFFFFF]
        RenderBlock (anonymous) at (0,0) size 70x18
          RenderText at (8,2) size 39x13
            text run at (8,2) width 39: &quot;Default&quot;
      RenderText {#text} at (74,1) size 4x18
        text run at (74,1) width 4: &quot; &quot;
      RenderMenuList {SELECT} at (80,2) size 52x18 [bgcolor=#FFFFFF]
        RenderBlock (anonymous) at (0,0) size 52x18
          RenderText at (8,2) size 21x13
            text run at (8,2) width 21: &quot;Red&quot;
      RenderText {#text} at (134,1) size 4x18
        text run at (134,1) width 4: &quot; &quot;
      RenderMenuList {SELECT} at (140,2) size 121x18 [bgcolor=#008000] [border: (1px solid #000000)]
        RenderBlock (anonymous) at (1,1) size 119x16
          RenderText at (8,1) size 90x13
            text run at (8,1) width 90: &quot;Default on green&quot;
      RenderText {#text} at (263,1) size 4x18
        text run at (263,1) width 4: &quot; &quot;
      RenderMenuList {SELECT} at (269,2) size 103x18 [color=#FF0000] [bgcolor=#008000] [border: (1px solid #FF0000)]
        RenderBlock (anonymous) at (1,1) size 101x16
          RenderText at (8,1) size 72x13
            text run at (8,1) width 72: &quot;Red on green&quot;
      RenderText {#text} at (0,0) size 0x0


The desired behavior should be verified on these platforms and the results added when is is confirmed that each object is drawn correctly.  From the DRT output above, it appears that the red menulist is not being drawn in red.

HTML code 

&lt;select style=&quot;color:red&quot;&gt;
    &lt;option&gt;Red&lt;/option&gt;
&lt;/select&gt;

DRT Output

      RenderMenuList {SELECT} at (80,2) size 52x18 [bgcolor=#FFFFFF]
        RenderBlock (anonymous) at (0,0) size 52x18
          RenderText at (8,2) size 21x13
            text run at (8,2) width 21: &quot;Red&quot;


However, the color is correctly applied when done in conjunction with the background color.  It should be verified whether this is drawing incorrectly, or whether the DRT output is at fault.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>175119</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2009-12-27 18:10:29 -0800</bug_when>
    <thetext>The text indeed does not draw as red in this case, because if only the foreground color is changed, we choose to draw a standard pop-up menu and ignore all styles. That might be a bug, but in the meantime it seems useful to test the remaining results.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>