Closed
Bug 49922
Opened 24 years ago
Closed 24 years ago
[CBX]elect element does not repaint when losing focus
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
RESOLVED
INVALID
Future
People
(Reporter: ian, Assigned: rods)
Details
(Keywords: polish)
There is the following rule in html.css: /* temporary rule to make repaint happen on loss of focus */ select:focus, select[size="1"]:focus { background-color: #FEFEFE; } The problem is that without this rule, the magic focus rectangle that the select element aquires during, ah, focus, doesn't dissapear when you remove the focus from the select element. This is blocking bug 1021, which is part of my work on html.css. To fix that bug, I am setting the background-color of select elements to 'Window'. Since I don't know what that is, I cannot then set the background-color of select:focus to a similar color, the way that at the moment we set the focused color to a very slightly shaded version of white. Of course, if there is some other hacky way of forcing a repaint, that doesn't involve changing colours, I'm listening...
Reporter | ||
Updated•24 years ago
|
Assignee | ||
Comment 1•24 years ago
|
||
I guess there is no CSS color for focus, is there?
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•24 years ago
|
||
Good idea. Ok, I've worked around this by making the combobox frame get the Highlight and HighlightText colours. This actually seems to be what happens with native Windows widgets anyway! Woohoo!
Assignee | ||
Updated•24 years ago
|
Summary: select element does not repaint when losing focus → [CBX]elect element does not repaint when losing focus
Assignee | ||
Comment 4•24 years ago
|
||
This is now invlaid because of how we have changed the way the focus rect works (I think)
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•