Open Bug 1832213 Opened 1 year ago Updated 11 months ago

Add button in UI to trigger 'pretty print'

Categories

(DevTools :: Style Editor, enhancement)

Firefox 102
Desktop
Unspecified
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: googol.morons, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

(deleted), application/x-zip-compressed
Details
Attached file theme.9.css.zip (deleted) —

Steps to reproduce:

utilize e.g. https://www.avdweb.nl/templates/yootheme/css/theme.9.css in simple html page(see attached).
in 'Dev tools' open Style Editor and 'theme.9.css' in it

Actual results:

the stylesheet is minified and there are no controls to enforce 'pretty print' on it
(there are 2 line feedsin the css file. wiping them out gives pretty-printed stylesheet in Style Editor)

Expected results:

there should be an UI control(button/menu entry) allowing to force formatting(pretty print) over (script/)stylesheet - for the case FF improperly detects 'minified' state.

Hardware: Unspecified → Desktop

The Bugbug bot thinks this bug should belong to the 'DevTools::Style Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Style Editor
Product: Firefox → DevTools
Type: defect → enhancement
Summary: Dev tools: It must be possible to enforce 'pretty print' → Add button in UI to trigger 'pretty print'
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: