[richfaces-issues] [JBoss JIRA] (RF-13241) ECSS: Not possible to define one property multiple times
Pavol Pitonak (JIRA)
jira-events at lists.jboss.org
Fri Oct 4 03:35:02 EDT 2013
[ https://issues.jboss.org/browse/RF-13241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12809319#comment-12809319 ]
Pavol Pitonak commented on RF-13241:
------------------------------------
According to CSS validator, it's perfectly valid. One of use-cases is the one in this issue when you need to specify some non-standard property for all browsers, such as gradients. You need to do following:
{code}
html {
background: linear-gradient(bottom, red 0%, white 100%);
background: -webkit-linear-gradient(bottom, red} 0%, white 100%);
background: -o-linear-gradient(bottom, red 0%, white 100%);
background: -moz-linear-gradient(bottom, red 0%, white 100%);
background: -ms-linear-gradient(bottom, red 0%, white 100%);
background-attachment: fixed;
}
{code}
Event this CSS is valid:
{code}
html {
background: red;
background: blue;
}
{code}
> ECSS: Not possible to define one property multiple times
> --------------------------------------------------------
>
> Key: RF-13241
> URL: https://issues.jboss.org/browse/RF-13241
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: skinning
> Affects Versions: 5.0.0.Alpha1
> Environment: RichFaces 5.0.0-SNAPSHOT
> all environments
> Reporter: Pavol Pitonak
> Assignee: Pavol Pitonak
>
> # deploy Metamer and open http://localhost:8080/metamer/faces/components/skinning/ecss.xhtml
> # open rf13241.ecss in developer tools
> expected:
> {code}
> html {
> background: red;
> background: -webkit-linear-gradient(bottom, red 0%, white 100%);
> }
> {code}
> was:
> {code}
> html {
> background: red;
> background: red;
> }
> {code}
--
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