What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

I'm seeing white text on a white background when attempting to edit chat.

enter image description here

share|improve this question
    
What operating system? Which version of Firefox? –  mmyers Apr 26 '11 at 22:22
    
Windows vista 64bit 3.5.18 wife's laptop –  Wes Apr 26 '11 at 22:27

1 Answer 1

up vote 2 down vote accepted

You're supposed to see white text on a dark background, similar to what you see in the message that you're editing. Unfortunately, your text area retains its white background even in edit mode. The reason for this seems to be in how the background is specified in the stylesheet.

First, there's a declaration that forces the text area #input to have a white background:

#input, #chat-body.mob #input-area #bubble #input {
    background-color:white !important;
}

Then, when editing, this style block is supposed to take over:

.message.editing .content, #input.editing {
    background-color:#666666;
    background:-webkit-gradient(linear, left top, left bottom, from(#555555), to(#777777));
    background:-moz-linear-gradient(top, #555555, #777777);
    background:linear-gradient(top, #555555, #777777);
    ...
}

The background-color isn't applied to #input.editing though, because of the !important rule in the previous block. This ends up being fine in most browsers, since the gradient is taken to be the value of background-image, and just overlays the white background. However, gradient support wasn't introduced until Firefox 3.6, so your input gets stuck with a solid white background in versions below that.

It's currently unclear whether or not Firefox 3.5 is a supported browser, but in any case, adding an !important to the background-color in the second style block seems to fix the problem.

share|improve this answer
    
absolutely correct –  balpha Apr 27 '11 at 9:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .