Take over selection into inline editor

NEW
Unassigned

Status

enhancement
P3
normal
2 years ago
10 months ago

People

(Reporter: sebo, Unassigned)

Tracking

(Blocks 1 bug)

55 Branch

Firefox Tracking Flags

(firefox55 affected)

Details

(Reporter)

Description

2 years ago
The inline editor for CSS property names and values should also open when the user selects a part of it. This partial selection should then be taken over to the inline editor.
This allows for faster editing, because it saves you the second click or keyboard navigation to the part of the value you want to change.

Steps to reproduce:
1. Open the Inspector on data:text/html,<body style="padding: 15px 0 10px 5px;"></body>
2. Within the Rules view select the '0 10px' part of the padding value.

=> The inline editor should open with '0 10px' being selected.

FWIW, in Firebug, this feature was implemented in https://github.com/firebug/firebug/issues/3726. There, the feature was actually not restricted to CSS editing, but was available on all inline editors. So, if the inline editors in the DevTools, share the same logic and this feature would be available on every inline editor, that would be even better.

Sebastian
Priority: -- → P3

Updated

10 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.