Closed Bug 1418351 Opened 8 years ago Closed 5 months ago

Link computed styles to Rules tab in Inspector

Categories

(DevTools :: Inspector, enhancement, P3)

58 Branch
enhancement

Tracking

(relnote-firefox 149+, firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
relnote-firefox --- 149+
firefox149 --- fixed

People

(Reporter: mail, Assigned: nchevobbe)

References

Details

(Keywords: dev-doc-needed)

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 Steps to reproduce: Open the inspector, inspect an element, go to the "Computed" tab and expand a CSS attribute (one for which there is a defined style), click on the style (not the filename reference to the right). Actual results: Nothing. Expected results: Link to the style in the "Rules" tab within the Inspector. This is not a bug obviously, but a feature in Chrome that I find very useful when editing CSS.
Component: Untriaged → Developer Tools: Inspector
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: Developer Tools: Inspector → Developer Tools: Computed Styles Inspector
Ever confirmed: true
Priority: -- → P3
Product: Firefox → DevTools
Component: Inspector: Computed → Inspector
Severity: normal → S3
See Also: → 1981700
Duplicate of this bug: 1978322
Assignee: nobody → nchevobbe
Attachment #9505742 - Attachment description: WIP: Bug 1418351 - [devtools] Add link to Rules view declaration in Computed panel. → Bug 1418351 - [devtools] Add button to jump to Rules view declaration in computed panel. r=#devtools.
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2e6b27302701 https://hg.mozilla.org/integration/autoland/rev/5978e3147cdf [devtools] Add button to jump to Rules view declaration in computed panel. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]

I believe this is something worth mentioning in the release notes. So requesting to add a note.

[Why is this notable]: New DevTools feature
[Affects Firefox for Android]: no
[Suggested wording]: Besides each CSS declaration related to a computed value shown in the Computed view there's now an icon to jump to it in the Rules view.
[Links (documentation, blog post, etc)]:
Documentation for the view is at https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/examine_and_edit_css/index.html#page-inspector-how-to-examine-and-edit-css-examine-computed-css, though it didn't get updated yet.

Sebastian

relnote-firefox: --- → ?
Keywords: dev-doc-needed

Note added to our beta release notes with this wording:

Besides each CSS declaration related to a computed value shown in the Computed view there's now an icon to jump to it in the Rules view.

(I put the link even though the content is not updated yet)

This is also added to our internal document for the final release notes.

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

Attachment

General

Creator:
Created:
Updated:
Size: