incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-335) generated css file has errors as a result of empty styleclass removal optimization
Date Fri, 16 Mar 2007 08:09:09 GMT

     [ 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.


Mime
View raw message