[
https://issues.apache.org/jira/browse/TRINIDAD-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Robinson updated TRINIDAD-2437:
--------------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1-core
Status: Resolved (was: Patch Available)
Applied the patch from Anand
> documentation about cilent side rules does not mention about aliases
> --------------------------------------------------------------------
>
> Key: TRINIDAD-2437
> URL: https://issues.apache.org/jira/browse/TRINIDAD-2437
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Skinning
> Affects Versions: 2.1.0-core
> Reporter: Anand V Nath
> Priority: Minor
> Fix For: 2.1.1-core
>
> Attachments: skin-doc-update.patch
>
>
> CSS Client rules are executed at client side. Skin has many features like
> aliases, rule refs, property refs which gets evaluated at server side. So
> there are usecases which wont work with client side rules.
> Eg:
> @media screen and (max-width: 1680px) {
> .AFBrandingBackgroundColor:alias {
> color: Red;
> }
> }
> This will not get applied because we evaluate the @media rule at client side.
> The alias however is evaluated at the server side and skinning framework
> would not be able to decide when the alias specified above will be
> applicable. We documented about the -tr rules in the skinning dev guide, but
> missed out on the alias usecase.
> This bug is to update the alias usecase. Also please suggest if I am missing
> out any other usecase that we need to mention in conjunction with client side
> rules.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)