[wp-trac] [WordPress Trac] #24977: Workflow change: automate RTL css generation

WordPress Trac noreply at wordpress.org
Wed Aug 7 08:55:39 UTC 2013


#24977: Workflow change: automate RTL css generation
----------------------------+------------------
 Reporter:  yoavf           |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.7
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by yoavf):

 @maor that can be a first step to check feasibility - but I would skip it.

 Here's what I think we would need to do, in no particular order:

 - Write a grunt plugin for CSSJanus and integrate it in the build process
 - Cleanup existing (ltr) css files for any RTL specific css
 - Look into wp_default_styles and related code, and refactor the loading
 of the RTL css so that it's done instead of ltr css and not in addition to
 it.
 - (once we have the build plugin) Test newly generated rtl css files for
 any problems and issues, and fix any problems in source ltr files
 - Document best practices for writing core css that "flips" well and
 doesn't cause any issues (i.e: % based positioning instead of pixel based,
 etc)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24977#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list