Closed Bug 592938 Opened 14 years ago Closed 13 years ago

Applying a border-style to textareas, text fields, password fields, selects and file inputs prevents focusring (glow) on OSX

Categories

(Core :: CSS Parsing and Computation, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 618156

People

(Reporter: malendariel, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8

If you apply a border-style to most of the form elements you lose the focusring glow effect. There's no way to reinstate this effect. Safari/Chrome on OSX don't suffer from this issue.

Reproducible: Always

Steps to Reproduce:
Apply a border style to an input:text, input:password, input:file, textarea, select.
Actual Results:  
Focusing the element doesn't show the focus ring.

Expected Results:  
Focusing the element shows the focus ring.
Sounds like bug 450792. 

"Bug 441034 was prompted by problems with the interaction of the new drop button
style with background colors, but the new drop button style is also border
sensitive as well in that, stylistically, it expects a 1px border.  Although
getting rid of the native border and drawing a 1px border of your own does look
mostly fine (comment 1) (aside from the drop button's hover state border not
matching the the border that it overlaps as intended), if you draw a border
thicker than 1px, things won't look quite right, and with no border at all, the
drop button will draw out of bounds.  I believe that reverting to the old drop
button style if the border is non-native is the correct course of action here."
Status: UNCONFIRMED → NEW
Component: General → Style System (CSS)
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → style-system
Hardware: x86 → All
Version: unspecified → Trunk
We draw the default glow via the OS theme, and once you style the control to look different from the OS theme we disable OS theme drawing.  And we don't have a separate codepath to do the glow drawing.

This is a duplicate (of an open bug, even).  Please find the original and mark it duplicate.
Keywords: qawanted
Whiteboard: DUPEME
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.