[richfaces-issues] [JBoss JIRA] (RF-12178) Resource plugin: duplicate css atribute get twice the 1st one
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Wed Apr 25 08:46:17 EDT 2012
[ https://issues.jboss.org/browse/RF-12178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12687566#comment-12687566 ]
Lukáš Fryč commented on RF-12178:
---------------------------------
The problem must occur in [{{CompiledCSSResource}}|https://github.com/richfaces/core/blob/develop/impl/src/main/java/org/richfaces/resource/CompiledCSSResource.java] class.
Let's setup the test first by passing mock {{Resource}} to constructor and then let compiler do the job and check output.
> Resource plugin: duplicate css atribute get twice the 1st one
> -------------------------------------------------------------
>
> Key: RF-12178
> URL: https://issues.jboss.org/browse/RF-12178
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: resource handling
> Affects Versions: 4.2.0.Final
> Reporter: Nicolas Daniels
> Assignee: Lukáš Fryč
>
> An parsed ecss containing:
> background:"-moz-linear-gradient(center top, #CCCCCC, #CCCCCC 2%, #8E8E8E)" repeat scroll 0 0 transparent;
> background:"-webkit-gradient(linear, left top, left bottom, from(#CCCCCC), to(#8E8E8E))";
> is resulting to:
> background: "-moz-linear-gradient(center top, #CCCCCC, #CCCCCC 2%, #8E8E8E)" repeat scroll 0 0 transparent;
> background: "-moz-linear-gradient(center top, #CCCCCC, #CCCCCC 2%, #8E8E8E)" repeat scroll 0 0 transparent;
> The 1st background attribute is written twice while the webkit-gradient disapeared. I know I could use richfaces gradient but I want to be able to get css from anywhere and have the advantages of Richfaces resources optimization.
> I tried with <compress>false</compress> or <compress>true</compress> with same result.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list