<?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>185856</bug_id>
          
          <creation_ts>2018-05-21 18:54:15 -0700</creation_ts>
          <short_desc>[GTK] &lt;select&gt; ignores color and background-color CSS properties</short_desc>
          <delta_ts>2020-09-21 01:18:56 -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>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=165072</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=118234</see_also>
          <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="Carlos Bentzen">cadubentzen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>jan.brummer</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1426000</commentid>
    <comment_count>0</comment_count>
      <attachid>340941</attachid>
    <who name="Carlos Bentzen">cadubentzen</who>
    <bug_when>2018-05-21 18:54:15 -0700</bug_when>
    <thetext>Created attachment 340941
Test

After bug 118234, combo boxes ignore CSS color and background-color, always styling with colors from the GTK theme.

cgarcia commented in bug 118234

&gt; I think we need to implement RenderTheme::isControlStyled() properly to decide whether to apply native style or not.

Maybe that is the way to go to fix it.

Attached test shows an example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1429102</commentid>
    <comment_count>1</comment_count>
      <attachid>340941</attachid>
    <who name="Carlos Bentzen">cadubentzen</who>
    <bug_when>2018-05-31 18:58:43 -0700</bug_when>
    <thetext>Comment on attachment 340941
Test

This example results in just a thin black border around the select element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1536791</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2019-05-16 06:58:10 -0700</bug_when>
    <thetext>Is this a duplicate of bug #186219?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1612568</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2020-01-29 11:16:58 -0800</bug_when>
    <thetext>(In reply to Michael Catanzaro from comment #2)
&gt; Is this a duplicate of bug #186219?

Nope. I&apos;m closing the other dark mode bugs. But for this one, I guess we&apos;ll need to develop a non-GTK style.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>340941</attachid>
            <date>2018-05-21 18:54:15 -0700</date>
            <delta_ts>2018-05-21 18:54:15 -0700</delta_ts>
            <desc>Test</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>253</size>
            <attacher name="Carlos Bentzen">cadubentzen</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgogIDxoZWFkPgogICAgPHN0eWxlPgogICAgICBzZWxlY3Qg
ewogICAgICAgIGNvbG9yOiB3aGl0ZTsKICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiBibGFjazsK
ICAgICAgfQogICAgPC9zdHlsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAgICA8c2VsZWN0PgogICAg
ICA8b3B0aW9uPkZvbzwvb3B0aW9uPgogICAgICA8b3B0aW9uPkJhcjwvb3B0aW9uPgogICAgPC9z
ZWxlY3Q+CiAgPC9ib2R5Pgo8L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>