brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Brackets "Beautify" command messes up one type of CSS selector #5689

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by tussock Friday Dec 13, 2013 at 22:00 GMT Originally opened as https://github.com/adobe/brackets/issues/6245


Brackets Version: "sprint 34 experimental build 0.34.1-10733 (On branch sprint-34-hotfix,sprint-34-hotfix b5d77492b)". Running on a Mac with Mavericks (all up to date). Note that this bug has been in there for a few versions, so its not limited to the hot fix version.

If you have the following in a styles.css document:

.menubox::-webkit-scrollbar {
    display: none;
}

and you then run the "Beautify" command from the Edit menu, you get:

.menubox: : -webkit-scrollbar {
    display: none;
}

which is no longer valid css (note the space added between the colons).

core-ai-bot commented 3 years ago

Comment by redmunds Friday Dec 13, 2013 at 22:40 GMT


Please file an issue in the Beautifier Extension repo (https://github.com/drewhjava/brackets-beautify). Closing.