Closed
Bug 913014
Opened 11 years ago
Closed 11 years ago
Nodes in the inspector's computed style view are hard to expand collapse.
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: pbro, Assigned: pbro)
References
Details
Attachments
(1 file, 2 obsolete files)
8.51 KB,
patch
|
Details | Diff | Splinter Review |
Bug 855523 was used to re-work the markup view in a way that nodes would be easily expanded and collapsed.
This bug should bring the same to the computed styles view.
This view has no edition capabilities, so the expand/collapse functionality can easily be expanded to the whole row instead of being limited to the twisty icon.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → pbrosset
Assignee | ||
Comment 1•11 years ago
|
||
In order to work like the markup view does, I propose to keep the single click toggling on the twisty icon, and add a double click toggling on the rest of the style container.
Assignee | ||
Comment 2•11 years ago
|
||
Work in progress.
Missing a test for the dblclick, which I can't get to work.
Heather, would you mind taking a look and let me know what I'm doing wrong with the EventUtils lib?
Thanks.
Attachment #800760 -
Flags: feedback?(fayearthur)
Assignee | ||
Comment 3•11 years ago
|
||
I managed to make the double click test working.
So attaching a new patch, rebased, ready for review.
Attachment #800760 -
Attachment is obsolete: true
Attachment #800760 -
Flags: feedback?(fayearthur)
Attachment #802261 -
Flags: review?(fayearthur)
Comment 4•11 years ago
|
||
Patrick, I'm trying out this patch, and clicking the row doesn't seem to expand it. Is that functionality in this patch?
Assignee | ||
Comment 5•11 years ago
|
||
See comment 1, this bug aims at bringing the same level of functionality as the markup view does, that is:
- single click on twisty
- double click on the container itself.
So you should try to double click instead.
Cheers
Comment 6•11 years ago
|
||
Comment on attachment 802261 [details] [diff] [review]
913014-computed-view-toggle.patch
Review of attachment 802261 [details] [diff] [review]:
-----------------------------------------------------------------
Aha, sorry. This looks good, thanks!
Attachment #802261 -
Flags: review?(fayearthur) → review+
Assignee | ||
Comment 7•11 years ago
|
||
Thanks Heather for the review.
This patch is a week old and will need some merging with bug 835808 when it lands, so I'll hold it for now and rebase/merge and re-attach the patch when done.
Assignee | ||
Comment 8•11 years ago
|
||
Attaching a new version of the patch:
- Merged with 835808 that landed in fx-team a couple of days ago.
- Rebased with the latest fx-team.
Attachment #802261 -
Attachment is obsolete: true
Assignee | ||
Comment 9•11 years ago
|
||
Pushed to TRY once more for good measure: https://tbpl.mozilla.org/?tree=Try&rev=9c161d2b7891
Assignee | ||
Comment 10•11 years ago
|
||
TRY all green!
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•