Closed Bug 792387 Opened 12 years ago Closed 12 years ago

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

Categories

(DevTools :: Inspector, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 18

People

(Reporter: miker, Assigned: dcamp)

Details

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

Attachments

(2 files)

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.
Attached patch v1Splinter Review
Assignee: nobody → dcamp
Attachment #662760 - Flags: review?(jwalker)
Attachment #662760 - Flags: review?(fayearthur)
Attachment #662760 - Flags: review?(jwalker) → review+
https://hg.mozilla.org/integration/fx-team/rev/dc326f5870d2
Whiteboard: [ruleview] → [ruleview][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/dc326f5870d2
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Attachment #662760 - Flags: review?(fayearthur)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: