tobiasstrebitzer / FireFile

Firefox CSS Live Editing Plugin
www.firefile.at
53 stars 12 forks source link

changes one attribute in my css and the entire file was rewritten (site broken) #11

Closed ssbarnea closed 12 years ago

ssbarnea commented 13 years ago

I changed only one attribute in the css and when the file was rewritten with a borken copy: starting comments removed including an @import.

Why this is brokening the site: on wordpress the comment from the start of the style.css in a sub-theme is very important because it defines the master theme.

Expected behaviour: to have only one line changes in CSS file.

Update: it looks that the comment and the import is not removed but they are moved something in the middle of the css file, still this is enough to completly broken the css on the site.

PremiumWebServices commented 13 years ago

I agree. It should not add anything to the top of the file. Any new created lines should go at the bottom.

The comments are very important. They should be left intact.

tobiasstrebitzer commented 12 years ago

fixed in v0.9.0 (server update to v0.9.0 required). The css comments will be left intact if "display/save CSS comments" is enabled in the firefile tab panel dropdown.