The default bug view has changed. See this FAQ.

Rule view should highlight which sections of a css selector matches an element

RESOLVED FIXED in Firefox 18

Status

()

Firefox
Developer Tools: Inspector
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: miker, Assigned: dcamp)

Tracking

unspecified
Firefox 18
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [ruleview][fixed-in-fx-team])

Attachments

(2 attachments)

Created attachment 662513 [details]
The same feature implemented in Chrome.

e.g. Inspecting the following div in the rule view:

<div id="id"></div>

With the following css:
#id, .someselector {
  font-weight: bold;
}

#id would be in bold because it matches the node. We could also use specificity rules to determine which selector is actually applied.
(Assignee)

Comment 1

5 years ago
Created attachment 662760 [details] [diff] [review]
v1
Assignee: nobody → dcamp
Attachment #662760 - Flags: review?(jwalker)
(Assignee)

Updated

5 years ago
Attachment #662760 - Flags: review?(fayearthur)
Twitter ideas and enthusiasm:

https://twitter.com/csuwldcat/status/248752239596957696

/be
Attachment #662760 - Flags: review?(jwalker) → review+
(Assignee)

Comment 3

5 years ago
https://hg.mozilla.org/integration/fx-team/rev/dc326f5870d2
Whiteboard: [ruleview] → [ruleview][fixed-in-fx-team]
(Assignee)

Comment 4

5 years ago
https://hg.mozilla.org/mozilla-central/rev/dc326f5870d2
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
Target Milestone: --- → Firefox 18
(Assignee)

Updated

5 years ago
Attachment #662760 - Flags: review?(fayearthur)
You need to log in before you can comment on or make changes to this bug.