Closed
Bug 327494
Opened 20 years ago
Closed 20 years ago
readonly textbox cannot be set to white background in XP
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 279926
People
(Reporter: Bowie_Bailey, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050702
If a readonly textbox is given a style which includes "background: white" (or the hex equivalent), the box displays a light gray. Any other color, even #fffffe, will display correctly.
This appears to be somehow linked to the Windows appearance styles. The problem exists on the "Windows XP style", but if you switch to the "Windows Classic style", the white background displays properly.
Reproducible: Always
Steps to Reproduce:
1. Go to the Appearance tab of the Display properties
2. Set it to "Windows XP style"
3. Look at the colors on the example html provided below
Actual Results:
The textbox that was produced with "<textarea class="whiteback" readonly>", shows a light grey background.
Expected Results:
I would expect the textbox to display the background color specified.
Here is a test case:
<html>
<head>
<title>bug</title>
<style type="text/css">
.whiteback {background: white}
.offwhiteback {background: #fffffe}
</style>
</head>
<body>
<br>
<textarea class="whiteback" readonly rows="10" cols="54">
This should have a white background.
On Windows XP using XP style it's gray.
If you take away readonly, use a different color, or use Windows Classic style it works as expected.
</textarea>
<br>
<textarea class="offwhiteback" readonly rows="10" cols="25">
This background is not really white.
</textarea>
<textarea class="whiteback" rows="10" cols="25">
And this one is not readonly.
</textarea>
</body>
</html>
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 279926 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•