Closed
Bug 17730
Opened 25 years ago
Closed 25 years ago
[form] Input gets background color mentioned in table cell.
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
People
(Reporter: desale, Assigned: buster)
References
()
Details
Input used in HTML code without specifying input type gets background color
mentioned in table cell which contains this input.
Background color goes away if we click inside the text box.
BUILDS:10-01-09
STEPS TO REPRODUCE:
1] Please copy HTML code I'm providing. Save it as HTML file.
2] Open this HTML file with apprunner with builds specified above.
3] You'll see one textbox with black background.
4] Click inside the text box.
EXPECTED RESULTS:
Plain TextBox should be seen.
ACTUAL RESULTS:
Text box has black background.
TESTCASE CODE START:
<HTML>
<HEAD>
<TITLE> TEST PAGE </TITLE>
</HEAD>
<BODY>
<table>
<td bgcolor=black width=200>
<font color=yellow>  Please Click inside TextBox Belove: (Can you see a
textbox ?)</font>
<form name="resultsform" >
<input name=resultsfile value="" size=40></form>
</td></pre></tr></table>
</BODY>
</HTML>
TESTCASE CODE END:
Updated•25 years ago
|
Assignee: karnaze → kmcclusk
Comment 1•25 years ago
|
||
Kevin, I'm not sure what the default background for <input type=text> is.
However, it should be the same when type=text or type is omitted. Right now it
looks like when type is omitted, the background is transparant, which isn't the
case when type=text.
Updated•25 years ago
|
Assignee: kmcclusk → buster
Comment 2•25 years ago
|
||
Reassigning to buster
Updated•25 years ago
|
Summary: Input gets background color mentioned in table cell. → [form] Input gets background color mentioned in table cell.
Posted modified test case (and a real world example is also at
http://schist/17730b.html).
Updated•25 years ago
|
Assignee: buster → kin
Target Milestone: M14
Comment 4•25 years ago
|
||
checked it out in today's build -- the input element using the default type (by
not including the type attribute) is transparent. A significantly reduced case
is this:
<body>
<form method="post" action="whatever">
<table>
<tr>
<td bgcolor=yellow>
<input name="notype" value="no type attribute"><br><br>
<input type="text" name="withtype" value="with type attribute"></td>
</tr>
</table>
</form>
</body>
setting to m14, this is not dogfood or a beta blocker, but should be in for the
beta, also assigning to Kin for review
buster, could you take a look at this one?
Reassigning to buster@netscape.com, clearing milestone.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 10•25 years ago
|
||
marking verified
You need to log in
before you can comment on or make changes to this bug.
Description
•