Open Bug 1770318 Opened 3 years ago Updated 3 years ago

Jumping from the inspector to style editor doesn't scroll the selected list item into view

Categories

(DevTools :: Style Editor, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

Details

Steps to reproduce

  1. Open the browser toolbox
  2. In the rule view, click on the browser.css link

Expected results

The styleeditor is displayed and the item list is visible

Actual reEsults

The styleeditor is displayed, the stylesheet is visible, but item list is not visible, which makes you wonder if the "right" stylesheet was selected (or at least, it makes you think a bit more than you should :) )


Not sure how we'll tackle this one, especially if the styleeditor wasn't loaded yet, as items can be appended in the list before/after the selected one

Severity: -- → S3
Priority: -- → P3

kind of related, I was wondering if we could have a status bar like we have in the debugger, with the path of the stylesheet and maybe move some off the information/buttons that we put in the list at the moment (enable/disable, save , number of rules, is it sourcemapped/link to original file)

this would allow us to streamline items in the sidebar list (and prepare for having a tree ?)

You need to log in before you can comment on or make changes to this bug.