You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 08:09:09 UTC

[jira] Updated: (ADFFACES-335) generated css file has errors as a result of empty styleclass removal optimization

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

Matthias Weßendorf updated ADFFACES-335:
----------------------------------------

        Fix Version/s: 1.0.0-incubating-core
    Affects Version/s: 1.0.0-incubating-core

> generated css file has errors as a result of empty styleclass removal optimization
> ----------------------------------------------------------------------------------
>
>                 Key: ADFFACES-335
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-335
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 1.0.0-incubating-core
>            Reporter: Jeanne Waldman
>         Assigned To: Adam Winer
>             Fix For: 1.0.0-incubating-core
>
>
> If you have this in your skin file:
> /* This is a legal and standard in our css files short-hand for af|foo:fatal af|foo::input-chooser-wrapper */
> af|foo:fatal::input-chooser-wrapper {
>     color: red;
> }
> af|foo::input-chooser-wrapper {
> }
> The generated css file generates this problem style definition:
> .af_foo.p_AFFatal .af_foo_input-chooser-wrapper,.xcx.p_AFFatal . {border:1px #ff3333 solid}
> Notice that .af_foo_input-chooser-wrapper gets shortened to the empty string.
> This causes the browser to get confused, and strange 'skinning' bugs appear.
> Now, comment out the af|foo::input-chooser-wrapper, and things work ok.
> Somewhere the code is seeing the empty styleclass and removing it, although it shouldn't be.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.