Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81D8910B9D for ; Mon, 16 Dec 2013 05:54:16 +0000 (UTC) Received: (qmail 92836 invoked by uid 500); 16 Dec 2013 05:54:14 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 92771 invoked by uid 500); 16 Dec 2013 05:54:09 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 92755 invoked by uid 99); 16 Dec 2013 05:54:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Dec 2013 05:54:07 +0000 Date: Mon, 16 Dec 2013 05:54:06 +0000 (UTC) From: "Anand V Nath (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (TRINIDAD-2437) documentation about cilent side rules does not mention about aliases MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Anand V Nath created TRINIDAD-2437: -------------------------------------- Summary: 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 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)