Closed
Bug 19341
Opened 25 years ago
Closed 25 years ago
TEXTAREA doesn't take background-color (neither with STYLE nor js)
Categories
(Core :: Layout, defect, P3)
Tracking
()
M14
People
(Reporter: martin.honnen, Assigned: buster)
References
()
Details
Attachments
(3 files)
I don't get a background color for a TEXTAREA
<STYLE>
.lime {
background-color: lime;
}
</STYLE>
<SCRIPT>
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="aForm">
<TEXTAREA NAME="aField" CLASS="lime" COLS="20" ROWS="5">
Kibology
</TEXTAREA>
</FORM>
<BUTTON ONCLICK="var f = document.aForm.aField; if (f.style.backgroundColor ==
'' || f.style.backgroundColor == 'lime') f.style.backgroundColor = 'white'; else
f.style.backgroundColor = 'lime';">
toggle color
</BUTTON>
</BODY>
Same settings/code for INPUT TYPE="text" work.
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Assignee: vidur → buster
Status: ASSIGNED → NEW
Component: DOM Level 2 → Layout
Updated•25 years ago
|
Assignee: buster → rods
QA Contact: vidur → chrisd
Comment 4•25 years ago
|
||
assigning to rods for evaluation and attaching an additional test case
Comment 5•25 years ago
|
||
Comment 6•25 years ago
|
||
Updated•25 years ago
|
Assignee: rods → buster
Comment 7•25 years ago
|
||
Steve, I think this is a dup of a bug you already have.
Status: NEW → ASSIGNED
Summary: TEXTAREA doesn't take background-color (neither with STYLE no js) → TEXTAREA doesn't take background-color (neither with STYLE nor js)
Target Milestone: M14
css-compatibility bug. visual bug only, layout is correct. don't know what
milestone these belong in, guessing M14.
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Comment 9•25 years ago
|
||
Same problem as with the font... There is a hard-coded style rule called
PlaintextInitalStyle in nsTextEditRules.cpp that overrides different settings
like 'font-family' and 'background-color'.
Marked dup of 17303.
*** This bug has been marked as a duplicate of 17303 ***
Comment 10•25 years ago
|
||
Verified as dupe of bug 17303. See Pierre's comment above.
You need to log in
before you can comment on or make changes to this bug.
Description
•