Skip to:
Content

#2923 closed defect (fixed)

Add Autoprefixer for adding CSS vendor prefixes

Reported by: netweb Owned by: netweb
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: Tools - Build Keywords:
Cc:

Description

https://github.com/postcss/autoprefixer

"Parse CSS and add vendor prefixes to rules by Can I Use"


https://github.com/nDmitry/grunt-postcss

"Apply several post-processors to your CSS using PostCSS."

Change History (1)

#1 @netweb
21 months ago

  • Owner set to netweb
  • Resolution set to fixed
  • Status changed from new to closed

In 5994:

Build Tools: Add Autoprefixer for adding CSS vendor prefixes

This changeset adds a new Grunt task grunt postcss:core that runs Autoprefixer on CSS & SCSS files to add or remove any vendor prefixes required by browsers.

Browsers supported are the same as WordPress currently supports which are:

  • Android >= 2.1
  • Chrome >= 21
  • Edge >= 12
  • Explorer >= 7
  • Firefox >= 17
  • Opera >= 12.1
  • Safari >= 6.0.

Vendor prefixes are are also added for templates/default/css/bbpress.css as this is the only file that requires them at this time.

Fixes #2923.

Note: See TracTickets for help on using tickets.