Łukasz Rekucki created RF-12528:
-----------------------------------

             Summary: 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
    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

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to