[
https://issues.apache.org/jira/browse/ADFFACES-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463178
]
Jeanne Waldman commented on ADFFACES-348:
-----------------------------------------
The following scenario also doesn't work, so be sure to test this as well
<style selector=".portlet-form-input-field" resetProperties="true">
<property name="padding">4px</property>
<property name="background-color"/>
<includeStyle name="AFLightAccentBackground"/>
</style>
This inhibits the background-color, so you will see no background-color in the
generated css.
The same thing, written in css, does not inhibit the background-color, and it
should.
.portlet-form-input-field {
/* Bug in Trinidad: */
-tr-inhibit: all;
padding: 8px;
-tr-rule-ref: selector(".AFLightAccentBackground:alias");
-tr-inhibit: background-color;
}
Again the code is slightly different for css vs xss, when it should be the same.
> -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