Closed Bug 880790 Opened 8 years ago Closed 5 years ago

support //# sourceURL annotations for css in the style rules sidebar

Categories

(DevTools :: Inspector, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fitzgen, Unassigned)

Details

It is possible that the CSS is actually compiled output from Sass or Less, some other build step, etc. And if they provide the //# sourceURL=... we should support that by saying that the rules were defined in that source url and not just link the CSS file.

See also, http://www.softwareishard.com/blog/firebug/firebug-tip-label-dynamic-scripts-with-sourceurl-directive/ which has a nice little regexp for us.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.