Closed
Bug 279264
Opened 20 years ago
Closed 16 years ago
Pinstripe: Focus ring are missing for textboxes
Categories
(Firefox :: Theme, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: asaf, Unassigned)
Details
Attachments
(2 files)
|
1.92 KB,
patch
|
kevin
:
review-
|
Details | Diff | Splinter Review |
|
6.14 KB,
image/jpeg
|
Details |
Upcoming (sort of) patch
| Reporter | ||
Comment 1•20 years ago
|
||
The searchfield is better than i tought we could get ;) Note: the padding/margin changes are hacks to avoid some drawing issues.
Attachment #172002 -
Flags: review?(webmail)
Comment 2•20 years ago
|
||
Comment on attachment 172002 [details] [diff] [review] patch Mano, thanks for doing this. Actually I've got a patch that's almost exactly like this but it's not ready yet. Let's use your patch as a starting point. Two issues that I see: The search bar being focused makes the toolbar contract by a pixel or two (screenshot coming up). Second, some autocomplete textboxes contract when they are focused, for instance the Home Page Location(s) field in prefs. I suspect that's because there's some extra padding being applied to the textbox and your !important padding overrides that. I didn't know -moz-outline-radius had been implemented. Textbox focus rings should have -moz-outline-radius: 1px to round of the corners slightly. I'm also looking at similar focus rings for trees and list boxes.
Attachment #172002 -
Flags: review?(webmail) → review-
Comment 3•20 years ago
|
||
Oh, and I almost forgot .. the find toolbar textbox needs the same focus ring as the toolbar search box.
| Reporter | ||
Comment 4•20 years ago
|
||
note you can get focus rings for buttons in a similar way...:
button:focus {
-moz-outline: 2px solid -moz-mac-focusring;
-moz-outline-radius: 11px;
-moz-outline-offset: -1px;
}
but this needs *much* more work (small buttons, help button, etc.)
Comment 5•20 years ago
|
||
hmm, I keep thinking I saw an open bug for this already (perhaps in a different Product), but I cannot seem to find it.
| Reporter | ||
Comment 6•20 years ago
|
||
Yeah, there are some; no one of them is about fixing it inside the theme - which isn't the right fix... (The "right fix" is apple appearance manager APIs, but they're *extremely* buggy).
Comment 7•20 years ago
|
||
This is related to bug 198097, which refers to the OS-drawn (XUL and HTML) textfields in Mozilla, Firefox or Camino. the correct fix in that case is to work out how to get nsItheme to draw the focus ring. The bug hasn't had activity in years and as Mano said is probably a tough problem. In the interim we can draw focus rings with XUL, though they won't look as nice, they will at least be a win for accessibility. When OS-drawn focus rings come around we can just take out whatever we do here.
| Reporter | ||
Comment 8•20 years ago
|
||
Note: focus rings for radios, checkboxes, and select boxed do exist.
Isn't this bug 53927, too?
Comment 10•17 years ago
|
||
(In reply to comment #9) > Isn't this bug 53927, too? Bug 53927 is for html forms, I guess this one is pinstripe-only (different files).
Updated•16 years ago
|
Assignee: kevin → nobody
Status: NEW → RESOLVED
Closed: 16 years ago
Component: General → Theme
QA Contact: general → theme
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•