<?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>29811</bug_id>
          
          <creation_ts>2009-09-28 09:24:30 -0700</creation_ts>
          <short_desc>Text in Inspector&apos;s Styles gear menu is invisible</short_desc>
          <delta_ts>2009-10-08 13:30:38 -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>Web Inspector (Deprecated)</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Roben (:aroben)">aroben</reporter>
          <assigned_to name="Brian Weinstein">bweinstein</assigned_to>
          <cc>bweinstein</cc>
    
    <cc>pfeldman</cc>
    
    <cc>timothy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>150525</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-09-28 09:24:30 -0700</bug_when>
    <thetext>To reproduce:

1. Go to any page
2. Right-click and choose &quot;Inspect Element&quot;
3. Hover over the Styles section header in the right sidebar
4. Click on the gear that appears

The text in the menu is invisible.

It looks like this is due to &lt;http://trac.webkit.org/browser/trunk/WebCore/inspector/front-end/inspector.css?rev=48809#L1617&gt;, where we set the color of the &lt;select&gt; to be transparent. This affects the text in the menu on Windows.

One fix for this would be to add a rule like:

.pane &gt; .title &gt; select &gt; option { color: black }

&quot;black&quot; might not always be the right color, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150531</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-09-28 09:27:31 -0700</bug_when>
    <thetext>&lt;rdar://problem/7257831&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>150537</commentid>
    <comment_count>2</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-09-28 09:39:16 -0700</bug_when>
    <thetext>I think we could also use:

.pane &gt; .title &gt; select { text-indent: 30; }

And then let the color be unchanged.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151065</commentid>
    <comment_count>3</comment_count>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-09-29 15:03:13 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I think we could also use:
&gt; 
&gt; .pane &gt; .title &gt; select { text-indent: 30; }
&gt; 
&gt; And then let the color be unchanged.

I&apos;m pretty sure that doing that will indent the text inside the menu, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153301</commentid>
    <comment_count>4</comment_count>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-10-07 23:07:58 -0700</bug_when>
    <thetext>*** Bug 30192 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153380</commentid>
    <comment_count>5</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2009-10-08 08:22:30 -0700</bug_when>
    <thetext>So the fix would be:

.pane &gt; .title &gt; select &gt; option {
    color: black;
}

.pane &gt; .title &gt; select &gt; hr {
    color: black;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153431</commentid>
    <comment_count>6</comment_count>
      <attachid>40888</attachid>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-10-08 10:21:15 -0700</bug_when>
    <thetext>Created attachment 40888
Fix described by comment 5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153438</commentid>
    <comment_count>7</comment_count>
      <attachid>40888</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2009-10-08 10:38:56 -0700</bug_when>
    <thetext>Comment on attachment 40888
Fix described by comment 5

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>153506</commentid>
    <comment_count>8</comment_count>
    <who name="Brian Weinstein">bweinstein</who>
    <bug_when>2009-10-08 13:30:38 -0700</bug_when>
    <thetext>Committed in http://trac.webkit.org/changeset/49310.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>40888</attachid>
            <date>2009-10-08 10:21:15 -0700</date>
            <delta_ts>2009-10-08 10:38:56 -0700</delta_ts>
            <desc>Fix described by comment 5</desc>
            <filename>invisible.patch</filename>
            <type>text/plain</type>
            <size>1176</size>
            <attacher name="Brian Weinstein">bweinstein</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0OTMwNikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTUgQEAKKzIwMDktMTAtMDggIEJyaWFuIFdlaW5zdGVpbiAgPGJ3ZWluc3RlaW5A
YXBwbGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAg
ICAgIEZpeGVzIDxodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9Mjk4MTE+
CisgICAgICAgIFRleHQgaW4gSW5zcGVjdG9yJ3MgU3R5bGVzIGdlYXIgbWVudSBpcyBpbnZpc2li
bGUuCisgICAgICAgIAorICAgICAgICBBZGRzIGEgc3R5bGUgcnVsZSBmb3IgdGhlIG9wdGlvbiB0
ZXh0IGFuZCBocidzIGluIHRoZSBnZWFyIG1lbnUsCisgICAgICAgIHRvIHByZXZlbnQgdGhlbSBm
cm9tIGJlaW5nIHRyYW5zcGFyZW50LgorCisgICAgICAgICogaW5zcGVjdG9yL2Zyb250LWVuZC9p
bnNwZWN0b3IuY3NzOgorCiAyMDA5LTEwLTA4ICBOaWtvbGFzIFppbW1lcm1hbm4gIDxuemltbWVy
bWFubkByaW0uY29tPgogCiAgICAgICAgIFJldmlld2VkIGJ5IEVyaWMgU2VpZGVsLgpJbmRleDog
V2ViQ29yZS9pbnNwZWN0b3IvZnJvbnQtZW5kL2luc3BlY3Rvci5jc3MKPT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0g
V2ViQ29yZS9pbnNwZWN0b3IvZnJvbnQtZW5kL2luc3BlY3Rvci5jc3MJKHJldmlzaW9uIDQ5MjYy
KQorKysgV2ViQ29yZS9pbnNwZWN0b3IvZnJvbnQtZW5kL2luc3BlY3Rvci5jc3MJKHdvcmtpbmcg
Y29weSkKQEAgLTE2NDUsNiArMTY0NSwxMCBAQCBsaS5lZGl0aW5nIC5zd2F0Y2gsIGxpLmVkaXRp
bmcgLmVuYWJsZWQtCiAgICAgYmFja2dyb3VuZC1wb3NpdGlvbjogLTQ2cHggMHB4OwogfQogCisu
cGFuZSA+IC50aXRsZSA+IHNlbGVjdCA+IG9wdGlvbiwgLnBhbmUgPiAudGl0bGUgPiBzZWxlY3Qg
PiBociB7CisgICAgY29sb3I6IGJsYWNrOworfQorCiAucGFuZSA+IC5ib2R5IHsKICAgICBwb3Np
dGlvbjogcmVsYXRpdmU7CiAgICAgZGlzcGxheTogbm9uZTsK
</data>
<flag name="review"
          id="22176"
          type_id="1"
          status="+"
          setter="aroben"
    />
    <flag name="commit-queue"
          id="22177"
          type_id="3"
          status="-"
          setter="bweinstein"
    />
          </attachment>
      

    </bug>

</bugzilla>