Closed
Bug 1485243
Opened 6 years ago
Closed 6 years ago
Add highlights to the source link, selector and computed properties when filtering styles
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
DevTools
Inspector: Rules
Tracking
(firefox63 fixed)
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: gl, Assigned: gl)
References
Details
Attachments
(1 file)
3.16 KB,
patch
|
bgrins
:
review+
|
Details | Diff | Splinter Review |
In Bug 1400319, I changed: .ruleview-highlight { background-color: var(--rule-highlight-background-color); } to .ruleview-highlight > .ruleview-namecontainer, .ruleview-highlight > .ruleview-propertyvaluecontainer { background-color: var(--rule-highlight-background-color); } to align with the designs I was looking at the time, but we actually missed a lot of selectors to include with this. We used to be able to highlight the selector, source link and computed properties when filtering styles in the Rules view.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #9003016 -
Flags: review?(bgrinstead)
Comment 2•6 years ago
|
||
Comment on attachment 9003016 [details] [diff] [review] 1485243.patch Review of attachment 9003016 [details] [diff] [review]: ----------------------------------------------------------------- ::: devtools/client/themes/rules.css @@ +531,2 @@ > .ruleview-highlight > .ruleview-namecontainer, > +.ruleview-highlight > .ruleview-propertyvaluecontainer, I guess in this case the .ruleview-namecontainer is the node that gets the .ruleview-highlight class? Since it's now the parent of these nodes.
Attachment #9003016 -
Flags: review?(bgrinstead) → review+
Assignee | ||
Comment 3•6 years ago
|
||
Comment on attachment 9003016 [details] [diff] [review] 1485243.patch Review of attachment 9003016 [details] [diff] [review]: ----------------------------------------------------------------- ::: devtools/client/themes/rules.css @@ +531,2 @@ > .ruleview-highlight > .ruleview-namecontainer, > +.ruleview-highlight > .ruleview-propertyvaluecontainer, It's .ruleview-propertycontainer and .ruleview-computed that gets the .ruleview-highlight class for the properties. I added a wrapper container around the computed properties so that we can get proper highlighting of the computed properties.
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/88cfe9dfcb97
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
You need to log in
before you can comment on or make changes to this bug.
Description
•