[ 
https://issues.apache.org/jira/browse/ADFFACES-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463184
 ] 

Simon Lessard commented on ADFFACES-348:
----------------------------------------

I disagree on this and I actually made it that way willingly. A command to 
inhibit all should do just that, inhibit everything from parents and includes 
imho. 

If we want skinning to be consistent with CSS philosophy, then it should be 
that way as CSS does not take the order in which the style properties appear 
into account.

> -tr-inhibit: all inhibits all after include styles in skin css files
> --------------------------------------------------------------------
>
>                 Key: ADFFACES-348
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-348
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>            Reporter: Jeanne Waldman
>
> -tr-inhibit all clears out properties AFTER the include of another 
> styleclass. This is wrong. It should inhibit all first.
> Example:
> .portlet-form-input-field {
> /* Bug in Trinidad: */
>   -tr-inhibit: all;
>   padding: 8px;
>   -tr-rule-ref: selector(".AFLightAccentBackground::alias");
>   
> }
> .PortletHeaderLink {
>   /* works fine */
>   -tr-inhibit: text-decoration;
>   color: pink;
> }
> generates:
> .PortletHeaderLink,.xaz {color:pink}
> .portlet-form-input-field,.xbw {padding:8px}
> .PortletHeaderLink/.PortletSugHeaderLink works fine. The problem is 
> .portlet-form-input-field. It should generate
> .portlet-form-input-field,.xbw {background-color:#e9e8e8;padding:8px}
> The same thing works in the xss format. We should do the same thing as what 
> is done in xss.
>   <style selector=".portlet-form-input-field" resetProperties="true">
>     <property name="padding">4px</property>
>     <includeStyle name="AFLightAccentBackground"/>
>   </style>
>   <style selector=".PortletHeaderLink" >
>     <property name="text-decoration"/>
>     <property name="color">blue</property>
>   </style>
> generates:
> .PortletHeaderLink,.xaz {color:blue}
> .portlet-form-input-field,.xbw {background-color:#e9e8e8;padding:4px}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to