SeanJM / atom-css-clean

A plugin for Atom which sorts and aligns CSS and SASS
MIT License
20 stars 2 forks source link

unknown -webkit selectors being deleted #45

Open gastrodon opened 5 years ago

gastrodon commented 5 years ago

After combing, unknown -webkit selectors are being removed, with no visible way of changing this behavior

for instance

#editor {
  flex-grow  : 1;
  order      : 2;
  color: #ffffff;
  background: #00152d;
  -webkit-user-select: none;
  -webkit-app-region: drag;
}

becomes

#editor {
  flex-grow  : 1;
  order      : 2;
  color: #ffffff;
  background: #00152d;
}
Bazowsky commented 3 years ago

Same for other "unknown" properties. Like a

html {scroll-behavior: smooth;}
h1::first-letter, h2::first-letter, h3::first-letter, h4::first-letter {
color: #f72377;
}

becomes

html {}

h1::first-letter,
h2::first-letter,
h3::first-letter,
h4::first-letter {
  color : #f72377;
}

Last commits on Oct 26, 2017, seems there is no way to resolve problem by author.