Skip to:

Opened 2 years ago

Closed 2 years ago

#2923 closed defect (fixed)

Add Autoprefixer for adding CSS vendor prefixes

Reported by: Stephen Edgar Owned by: Stephen Edgar
Milestone: 2.6 Priority: normal
Severity: normal Version:
Component: Tools - Build Keywords:


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

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

Change History (1)

#1 @Stephen Edgar
2 years ago

  • Owner set to Stephen Edgar
  • 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.