[richfaces-issues] [JBoss JIRA] (RF-12528) Allow configurable CSS parser / evaluator.

Brian Leathem (JIRA) jira-events at lists.jboss.org
Fri Oct 12 19:56:03 EDT 2012


     [ https://issues.jboss.org/browse/RF-12528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem updated RF-12528:
-------------------------------

    Component/s: skinning

    
> Allow configurable CSS parser / evaluator.
> ------------------------------------------
>
>                 Key: RF-12528
>                 URL: https://issues.jboss.org/browse/RF-12528
>             Project: RichFaces
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: resource handling, skinning
>    Affects Versions: 4.2.2.Final
>            Reporter: Łukasz Rekucki
>
> The CSSParser that RichFaces uses is not only outdated, but also buggy and unstable. For example v0.9.5 forces CSS2 syntax which doesn't allow '-moz' prefixes, but allows @font-face, OTOH v0.9.7 uses CSS2.1 syntax, which allows for prefixes, but doesn't allow @font-face.
> It can be quite painlessly replaced by [phloc-css|http://code.google.com/p/phloc-css/], just by overriding the {{CompiledCSSResource#getInputStream}}, but that one can also become outdated.
> My proposal is to add a configuration option that would point to a list of CSS processors that need to be applied. This would allow for easy parser swapping, adding minifiers, etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list