myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (TRINIDAD-2063) generated css file includes selectors with {}
Date Mon, 14 Mar 2011 22:55:29 GMT

     [ https://issues.apache.org/jira/browse/TRINIDAD-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeanne Waldman resolved TRINIDAD-2063.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-beta-3

> generated css file includes selectors with {}
> ---------------------------------------------
>
>                 Key: TRINIDAD-2063
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2063
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Jeanne Waldman
>            Assignee: Jeanne Waldman
>             Fix For: 2.0.0-beta-3
>
>
> If a selector has skinning properties only, like af|foo {-tr-some-property: true}, then
this gets placed into the css file like
> af|foo {}.
> And if it is compact mode, it will get into the css file like:
> . {} It won't have a compressed value, like .x10, because it is considered empty and
the skinning framework does not give a compressed value to empty keys.
> If you have a css file with a lot of selectors that have only skin-properties, then your
generated css file could look like:
> ., ., ., ., ., ., ., ., ., {}
> --
> The fix is in CSSGenerationUtils.java do not output selectors with an empty property
string.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message