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)

x86
Windows 95
defect

Tracking

()

VERIFIED DUPLICATE of bug 18447

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>&nbsp 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:
Assignee: karnaze → kmcclusk
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.
Assignee: kmcclusk → buster
Reassigning to buster
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).
Assignee: buster → kin
Target Milestone: M14
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
Status: NEW → ASSIGNED
Accepting bug.
*** Bug 19052 has been marked as a duplicate of this bug. ***
QA Contact update.
Assignee: kin → buster
Status: ASSIGNED → NEW
Target Milestone: M14
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
*** This bug has been marked as a duplicate of 18447 ***
Status: RESOLVED → VERIFIED
marking verified
You need to log in before you can comment on or make changes to this bug.