Open
Bug 1530270
Opened 5 years ago
Updated 2 years ago
Clicking on a closing tag in the markup-view should select it, instead of scrolling back to the corresponding opening node
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(Not tracked)
NEW
People
(Reporter: pbro, Unassigned)
Details
This was originally filed as one of several problems in bug 1241059, but that bug is now resolved and that specific problem persists.
Steps:
- open the inspector on this page
- expand a few nodes in the markup-view so that the panel containing it is filled up
- scroll down some, and find a closing tag (e.g.
</div>
) - click on that closing tag
Expected results:
- The DOM node corresponding to that closing tag should become selected
- The closing tag itself should have the blue background color that selected nodes normally have
- The markup-view shouldn't scroll up
What actually happens today:
- The DOM node corresponding to that closing tag does become selected
- The closing tag itself however does not get the blue background color that selected nodes normally have
- The markup-view scrolls back up to reveal the opening tag.
Over in bug 1241059, we had discussed and agreed that we didn't want the scrolling to happen, but instead wanted to make it possible to select closing tags.
This also happens to be what Chrome DevTools does.
Has STR: --- → yes
OS: Unspecified → All
Priority: -- → P2
Hardware: Unspecified → All
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•