Open Bug 942176 Opened 8 years ago Updated 3 years ago

CSS properties highlighter

Categories

(DevTools :: Inspector, enhancement, P3)

x86
All
enhancement

Tracking

(Not tracked)

People

(Reporter: pbro, Unassigned)

References

(Depends on 3 open bugs, Blocks 1 open bug)

Details

This is a rough idea for a new feature of the inspector that would help a lot understanding WHY css applies the way it does:

- like the normal highlighter but for individual css properties
- appears on the selected content element when hovering over a property in the rule view/computed view/style editor
- shows highlighter region and/or overlayed info depending on the property:
  - for border: highlight its region + draw border-radius info
  - for  background images: reveal the whole background image, even it's partly  hidden (as in sprites) and overlay background size info, and element  size info
  - padding and margin: highlight the regions
  - line height: draw lines
  - for width, height, any measures...: draw rulers
  - Box-shadow: overlaying info to explain where each number has been used
  - etc.
This needs to be a meta bug.
I'll open children blocker bugs.
Depends on: 945167
Depends on: 946198
Depends on: 948364
Depends on: 1014547
Severity: normal → enhancement
Inspector bug triage (filter on CLIMBING SHOES).
Priority: -- → P3
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.