Bug 97058
Summary: | Web Inspector: Pretty print to work with stylesheets | ||
---|---|---|---|
Product: | WebKit | Reporter: | kangax <kangax> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, paulirish, pfeldman, pmuellr, rik, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
kangax
It would be great if pretty print allowed to format CSS, not just JS files.
Useful for debugging stylesheets on production.
Ideally, CSS rules in right section of Elements panel would get line numbers adjusted accordingly, so that clicking on them would bring to correct line in a stylesheet.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joseph Pecoraro
Sorry I missed this bug. This has been working for a while now. CSS Resources are pretty printed just like JavaScript scripts are pretty printed. Likewise, line numbers are updated everywhere across the inspector. File bugs if you encounter issues!