Closed Bug 1057223 Opened 10 years ago Closed 9 years ago

Shift-Home and other shortcuts in CSS Inspector pane produces undesirable results

Categories

(DevTools :: Inspector, defect)

31 Branch
x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1032984

People

(Reporter: caspianroach, Unassigned)

Details

Attachments

(1 file)

Attached image css inspector.png
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446

Steps to reproduce:

1. Open a web page.
2. Choose an element, and press Right Click -> Inspect Element
3. In the opened Inspector window, go to the CSS Inspector pane (Rules).
4. Click a CSS string-type (text-align, display, etc) property value to start editing it. 
5. Remove the default selection by starting typing or clicking it again.

6. Now, pressing Shift-Home and Shift-End will add a random "help" tag in that field, usually -moz-something and create a panel of possible values to choose from. (see screenshot)


Actual results:

A "helper" list of values appeared.

This is quite annoying for users with two keyboard layouts, since after erroneously starting typing in a wrong layout and trying to fully select the typed string with Shift-Home to overwrite it produces garbage results.


Expected results:

Shift-Home and Shift-End should have produced the same behaviour that is present in practically all Windows environments: selecting from the point of the type cursor to the beginning or the end of the string.

I think Shift-selection hotkeys should not apply to string-like CSS properties to avoid replacing default hotkey behaviour.
Status: UNCONFIRMED → NEW
Component: Untriaged → Developer Tools: Inspector
Ever confirmed: true
Duplicate of bug 1032984?
You are correct.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: