Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2437

documentation about cilent side rules does not mention about aliases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.0-core
    • 2.1.1-core
    • Skinning
    • None

    Description

      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.

      Attachments

        1. skin-doc-update.patch
          2 kB
          Anand V Nath

        Activity

          People

            Unassigned Unassigned
            anand.v.nath@oracle.com Anand V Nath
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: