<?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>33622</bug_id>
          
          <creation_ts>2010-01-13 13:49:32 -0800</creation_ts>
          <short_desc>&lt;SELECT&gt; doesn&apos;t properly render with -webkit-gradient</short_desc>
          <delta_ts>2022-09-17 03:30:00 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>0</everconfirmed>
          <reporter name="Lindsey Simon">lsimon</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>gur.trio</cc>
    
    <cc>infoeon</cc>
    
    <cc>priyajeet.hora</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>180387</commentid>
    <comment_count>0</comment_count>
      <attachid>46499</attachid>
    <who name="Lindsey Simon">lsimon</who>
    <bug_when>2010-01-13 13:49:32 -0800</bug_when>
    <thetext>Created attachment 46499
testcase with gradient on a select

Both of these notes refer to a &lt;SELECT&gt; with -webkit-gradient(linear, 0 0, 0 bottom, from(#fff), to(#ddd)), testcase file attached.

* In Webkit nightly on a Mac, the background renders simply as solid gray and the 3d look falls off the cliff.
* In Linux Chromium unstable the background colors are quite off, rendering black at the top of the select and grey at the bottom.
(On Windows chromium, the background looks correct)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>452065</commentid>
    <comment_count>1</comment_count>
    <who name="">infoeon</who>
    <bug_when>2011-08-16 18:49:15 -0700</bug_when>
    <thetext>Below is a test case.



&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;style&gt;
			body{
				background-color: yellow;
			}
			
			* {
				border-color: green;
				color: blue;
			}
		
			select, input{
				background-color: red;
			
				background-image: repeating-linear-gradient(45deg, grey, grey 3px, orange 3px, orange 6px);
				background-image: -moz-repeating-linear-gradient(45deg, grey, grey 3px, orange 3px, orange 6px) !important;
				background-image: -webkit-repeating-linear-gradient(45deg, grey, grey 3px, orange 3px, orange 6px) !important;
			}
		&lt;/style&gt;
		&lt;title&gt;Test CSS&lt;/title&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;select name=&quot;test1&quot;&gt;
			&lt;option selected&gt;I should have a cool gradient.&lt;/option&gt;
			&lt;option&gt;Banana Gum&lt;/option&gt;
		&lt;/select&gt;
		&lt;input type=&quot;text&quot; name=&quot;test2&quot; value=&quot;123&quot;&gt;
	&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>961821</commentid>
    <comment_count>2</comment_count>
    <who name="">gur.trio</who>
    <bug_when>2013-12-20 04:05:53 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Below is a test case.
&gt; 
&gt; 
&gt; 
&gt; &lt;!DOCTYPE HTML&gt;
&gt; &lt;html&gt;
&gt;     &lt;head&gt;
&gt;         &lt;style&gt;
&gt;             body{
&gt;                 background-color: yellow;
&gt;             }
&gt; 
&gt;             * {
&gt;                 border-color: green;
&gt;                 color: blue;
&gt;             }
&gt; 
&gt;             select, input{
&gt;                 background-color: red;
&gt; 
&gt;                 background-image: repeating-linear-gradient(45deg, grey, grey 3px, orange 3px, orange 6px);
&gt;                 background-image: -moz-repeating-linear-gradient(45deg, grey, grey 3px, orange 3px, orange 6px) !important;
&gt;                 background-image: -webkit-repeating-linear-gradient(45deg, grey, grey 3px, orange 3px, orange 6px) !important;
&gt;             }
&gt;         &lt;/style&gt;
&gt;         &lt;title&gt;Test CSS&lt;/title&gt;
&gt;     &lt;/head&gt;
&gt;     &lt;body&gt;
&gt;         &lt;select name=&quot;test1&quot;&gt;
&gt;             &lt;option selected&gt;I should have a cool gradient.&lt;/option&gt;
&gt;             &lt;option&gt;Banana Gum&lt;/option&gt;
&gt;         &lt;/select&gt;
&gt;         &lt;input type=&quot;text&quot; name=&quot;test2&quot; value=&quot;123&quot;&gt;
&gt;     &lt;/body&gt;
&gt; &lt;/html&gt;


Working fine on chrome Version 31.0.1650.63 and webkit revision 160903.

Please confirm so that we can close this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899187</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-09-17 03:30:00 -0700</bug_when>
    <thetext>I took attached test and changed to JSFiddle and removed -webkit- and it works same across all browsers (Safari Technology Preview 153, Firefox Nightly 106 and Chrome Canary 107):

Link - https://jsfiddle.net/o4fgv7tu/show

Further, I took testcase from Comment 01 and changed also into JSFiddle (also removed prefixed lines):

Link - https://jsfiddle.net/10ech2wa/show

Same result, all browser same.

I am marking this as &quot;RESOLVED CONFIGURATION CHANGED&quot;. Please reopen if it is reproducible with updated test case. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>46499</attachid>
            <date>2010-01-13 13:49:32 -0800</date>
            <delta_ts>2010-01-13 13:49:32 -0800</delta_ts>
            <desc>testcase with gradient on a select</desc>
            <filename>select-gradient-bg.html</filename>
            <type>text/html</type>
            <size>1200</size>
            <attacher name="Lindsey Simon">lsimon</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgog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uPjExMTE8L29w
dGlvbj4KICAgICAgICAgPG9wdGlvbj4xMTExPC9vcHRpb24+CiAgICAgICAgIDxvcHRpb24+MTEx
MTwvb3B0aW9uPgogICAgICAgICA8b3B0aW9uPjExMTE8L29wdGlvbj4KICAgICAgICAgPG9wdGlv
bj4xMTExPC9vcHRpb24+CiAgICAgIDwvc2VsZWN0PgogICAgPC9maWVsZHNldD4KCiAgICA8Zmll
bGRzZXQ+CiAgICAgIDxsZWdlbmQ+RElWIHdpdGggdGhlIHNhbWUgQ1NTPC9sZWdlbmQ+CiAgICAg
IDxkaXYgc3R5bGU9IndpZHRoOiA4MHB4OyBoZWlnaHQ6IDIwcHg7IGJvcmRlcjoxcHggc29saWQg
I2NjYzsiCiAgICAgICAgY2xhc3M9ImF1Z21lbnRlZCI+PC9kaXY+CgoKICA8L2JvZHk+CjwvaHRt
bD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>