Open
Bug 937358
Opened 11 years ago
Updated 2 years ago
[rule view] UI for adding new CSS declarations to a declaration block is not discoverable
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
DevTools
Inspector: Rules
Tracking
(Not tracked)
NEW
People
(Reporter: jimb, Unassigned)
Details
To add a new declaration to a CSS declaration block, one can click on the closing curly bracket of the block, but that's not very discoverable. One fix might be to add an "add declaration" item to the context menu, present when right-clicking anywhere in the block.
Comment 1•11 years ago
|
||
The cursor goes I when you hover anywhere over near the ending of a block. That is a very big hit area and somewhat clear that this area is for text editing. May be we can add a tooltip over that area saying "Click to add a rule"
Comment 2•10 years ago
|
||
Just clicking around in the empty space in a block triggers the declaration add. I personally find that sufficient.
Comment 3•9 years ago
|
||
I'm not against adding more entries in the context menu as Jim suggested. We have almost no menu items right now in the rule-view context menu, so it doesn't hurt. Plus, people who are used to clicking at the right places will still be able to do it. It makes the feature more discoverable indeed. And Firebug 2 used to have it too.
Updated•9 years ago
|
Mentor: pbrosset
Component: Developer Tools: Style Editor → Developer Tools: Inspector
Comment 4•9 years ago
|
||
Safari's inline editing UI is pretty interesting, and could be a solution for this.
Updated•9 years ago
|
Component: Developer Tools: Inspector → Developer Tools: CSS Rules Inspector
Updated•8 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 5•5 years ago
|
||
Hey, I could work on it. Can you please help in which file do I need to make changes for it?
Updated•4 years ago
|
Mentor: patrickbrosset+bugzilla
Updated•4 years ago
|
Type: defect → enhancement
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•