Closed
Bug 630032
Opened 14 years ago
Closed 14 years ago
[CSS] outline-color not supported on input:focus
Categories
(Core :: Layout: Form Controls, defect)
Core
Layout: Form Controls
Tracking
()
RESOLVED
INVALID
People
(Reporter: contact, Unassigned)
Details
Attachments
(1 file)
189 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en; rv:1.9.2.15pre) Gecko/20110126 Camino/1.6 (like Firefox/3.6.15pre)
Build Identifier: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b11pre) Gecko/20110130 Firefox/4.0b11pre
When using something like
input:focus{
outline-color: red;
}
the outline is still blue (or red, depending on your system prefs).
Reproducible: Always
This works in Safari.
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
That's not what outline-color is supposed to control. outline-color is related to the outlines defined in CSS: <http://dev.w3.org/csswg/css3-ui/#outline-properties>.
If you add input { outline: thin solid; } to the style sheet in your test case, you can see the difference and will notice that *that* outline does change.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
OS: Mac OS X → All
Resolution: --- → INVALID
Version: unspecified → Trunk
![]() |
||
Comment 3•14 years ago
|
||
Verified. Safari on Mac uses the CSS outline for the focus glow, as far as I can tell (more precisely, it uses a vendor-specific outline style on focused inputs), whereas we draw a CSS outline separate from the native OS widget rendering (which is what draws the focus glow in our case).
You need to log in
before you can comment on or make changes to this bug.
Description
•