Closed Bug 1122889 Opened 9 years ago Closed 4 years ago

CSS: input[type=number]:not(:focus) { -moz-appearance:textfield; } breaks tab cycling through fields

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 981248

People

(Reporter: fvbassi, Unassigned)

References

Details

(Keywords: css-moz)

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150116200314

Steps to reproduce:

Try to style a number field using the following CSS:

input[type=number]:not(:focus)  { -moz-appearance:textfield; } 

(test done on Linux. It also affects older versions of Firefox)



Actual results:

The field is displayed correctly (ie: the spinners are displayed on the focused element only), but cycling through fields using TAB key is broken (ie: when the input[type=number] is reached, the focus il lost).


Expected results:

Cycling through fields should work the same way as when no CSS is declared.
Keywords: css-moz
Component: Untriaged → Keyboard: Navigation
Product: Firefox → Core
Version: Firefox 38 → unspecified
See Also: → 981248
Component: Keyboard: Navigation → User events and focus handling

Fixed by bug 981248.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: