Closed Bug 18447 Opened 25 years ago Closed 25 years ago

{css1} Text input changes background when clicked

Categories

(Core :: Layout: Form Controls, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: buster)

References

()

Details

(Keywords: css1)

Steps to reproduce:
   1. Visit http://www.bath.ac.uk/%7Epy8ieh/m/widgets/01.html
   2. Click on the text "Cool!" in the first box.

Actual results:
   The background changes from transparent to white, and the text alignment
   changes from center to left.

Expected results:
   No change to the styling except that specified in CSS.

Additional Notes:
   This may be a style system issue -- maybe something in ua.css is overriding
   the document's stylesheet (it shouldn't, as :focus and :active are not
   pseudo-elements but pseudo-classes).
QA Contact update.
Assignee: karnaze → rods
Reassigning to Rod.
Assignee: rods → buster
Steve, this should be yours.
*** Bug 21511 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Target Milestone: M13
added second url (www.iname.com) as a testcase from duplicate bug 21511.
Accepting this bug and marking M13.
*** Bug 17730 has been marked as a duplicate of this bug. ***
*** Bug 11263 has been marked as a duplicate of this bug. ***
There are three separate bugs.  This bug will be used for the case where
background color is incorrectly inherited by the unfocused text control, then
corrected when the text control gets focus.  A simple test case for this is:
<FORM>
<div style="background-color: yellow;">
<INPUT  type=text value="a whole bunch of text here that should get clipped"
        NAME="tex1" VALUE=" ">
</div>

There are 2 other cases.  One is the control is given a background color via
css, and the background shows up correctly in the unfocused case but not the
focused case.  This is now bug 22926.

The other is the one originally mentioned in this bug, that text controls are
always on top of the z-order and that they are not transparent.  This is bug
16272.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed.  Verify against 1/7/00 build.
*** Bug 23244 has been marked as a duplicate of this bug. ***
Keywords: css1
Migrating from {css1} to css1 keyword. The {css1}, {css2}, {css3} and {css-moz}
radars should now be considered deprecated in favour of keywords.
I am *really* sorry about the spam...
The fix for this bug reopened 10939, but it has since been fixed.  Just
something to watch out for in the future, thanks!
Updating QA contact.
QA Contact: ckritzer → bsharma
Works for Me
Platform: PC
OS: Windows 98
Mozilla Version: 2000100508

Marking as Verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.