[ https://issues.apache.org/jira/browse/ADFFACES-348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463290 ]
Simon Lessard commented on ADFFACES-348: ---------------------------------------- I thought about this over the night and I changed my mind. It's true that current sematic is incorrect to inhibit locally imported properties. > -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