mikaeljorhult / brackets-autoprefixer

Brackets/Edge Code extension that parses CSS documents and add vendor prefixes automatically.
MIT License
191 stars 37 forks source link

Plugin removing valid -moz- prefix for ::selection #36

Closed AllThingsSmitty closed 9 years ago

AllThingsSmitty commented 9 years ago

Referencing this issue. There seems to be an issue with the Brackets plugin.

Current input:

::-moz-selection {
  background: #b3d4fc;
}
::selection {
  background: #b3d4fc;
}

Current output:

::selection {
  background: #b3d4fc;
}

According to Mozilla's documentation for ::selection the -moz- prefix is required.

I raised this as an issue with Autoprefixer, but their tests show the -moz- prefix isn't removed. The Brackets plugin is removing it.

mikaeljorhult commented 9 years ago

I've just released a new version of the extension (0.6.0) that updates the Autoprefixer library and should resolve this issue. It works in my tests but could you please confirm it on your end?

AllThingsSmitty commented 9 years ago

@mikaeljorhult I've tested the above issue against the new plugin update and it's resolved. Thanks!

mikaeljorhult commented 9 years ago

Great! Thank you for confirming it!