nightwish65 / cssjanus

Automatically exported from code.google.com/p/cssjanus
Apache License 2.0
0 stars 0 forks source link

Feature request: options to ouput only converted rules #17

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not always do we want to have the whole CSS file converted, as sometimes we 
would just prefer to override the relevant CSS rules (say in the one file).

I propose to have CLI options controlling the output to be generated - for 
example:

--output-mode x, where x can be:

1: all rules, the default, and current behavior.
2: only the rules that have been converted (RTLfied).
3: the rules that have been converted, and the rules that have been considered 
but not converted. We can have tow sections with a comment header for each.
4: only the rules that were considered but not converted - just for completion.

The rules that have been considered but not converted are the ones where the 
algorithm decides are directional but should not be converted to RTL - examples 
are given in your video demo. These are good to have in order to give a human 
developer the last say.

The above CLI style is just an example, any CLI style that achieves the above 
outcome would do.

Regards - Basel Shishani

Original issue reported on code.google.com by bshish...@gmail.com on 15 Jan 2012 at 11:03