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

WordPress Trac noreply at wordpress.org
Tue Nov 12 21:18:47 UTC 2013


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

Comment (by nacin):

 In [changeset:"26107"]:
 {{{
 #!CommitTicketReference repository="" revision="26107"
 Use CSSJanus via a Grunt task to generate right-to-left CSS.

 RTL files are now created on build for core CSS files. These files replace
 the LTR file completely, rather than being in addition to the existing LTR
 file.

 Benefits:
  * For the user: less CSS is served in RTL, less HTTP requests on the
 frontend, and less work for the browser.
  * For the core developer: Let the tools do the work.

 Notes for core development:
  * The file generation task is `grunt rtl`.
  * `grunt watch` now handles generating RTL files in /build when a CSS
 file in /src is saved.
  * /src is now locked to LTR. RTL testing must occur via /build. When
 attempting to run an RTL text direction with /src, an admin notice will
 display.

 Expect RTL bugs. Please report them.

 props yoavf.
 see #24977.
 }}}

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


More information about the wp-trac mailing list