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

remove unused @locale selectors to improve skinning performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1
    • Skinning
    • None

    Description

      This is related to TRINIDAD-1985 High live memory usage from SkinStyleProvider

      The fewer @locale selectors we have, the fewer specialized StyleSheetNodes we have, and thus the fewer generated css files we will create.

      remove selectors that have @locale blocks if they are not being used.
      e.g.,
      /** Style sheet just for Korean-specific styles **/
      @locale ko{

      /** Button padding for Albany WT K **/
      .ButtonServerPaddingAlbany WT K:alias

      { -tr-rule-ref: selector(".AlbanyButtonPadding:alias"); }

      }

      .DefaultServerFontFamily:alias

      /** Style sheet just for Traditional Chinese specific styles **/
      @locale zh_TW{

      /** Button padding for Albany WT TC **/
      .ButtonServerPaddingAlbany WT TC:alias

      { -tr-rule-ref: selector(".AlbanyButtonPadding:alias"); }

      }

      /** Style sheet just for Simplified Chinese specific styles **/
      @locale zh_CN{

      /** Button padding for Albany WT SC **/
      .ButtonServerPaddingAlbany WT SC:alias

      { -tr-rule-ref: selector(".AlbanyButtonPadding:alias"); }

      }

      Attachments

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            jeanne.waldman@oracle.com Jeanne Waldman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: