[ 
https://issues.apache.org/jira/browse/TRINIDAD-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896062#action_12896062
 ] 

Jeanne Waldman commented on TRINIDAD-17:
----------------------------------------

I tested the above usecase, and we do not pollute the css with these selectors. 
Why? Because the af|*::changed-icon 'style' has no css properties in it, and we 
do not output styles with no css properties to our css file.

When resolving the af|*::changed-icon selector, we cannot resolve -tr-rule-ref: 
selector(".AFChangedIcon:alias"); because it is not a StyleNode, it's an 
IconNode. Therefore the af|*::changed-icon selectors have no css properties.

So we are ok again with the common usecase.

> Need to support mapping icons via -tr-rule-ref like we do with styles.
> ----------------------------------------------------------------------
>
>                 Key: TRINIDAD-17
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-17
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions: 1.2.1-core
>         Environment: Windows.
>            Reporter: Bill Baggett
>            Assignee: Jeanne Waldman
>             Fix For: 2.0.0.3-core
>
>
> Trinidad skinning supports mapping styles in a css file via the -tr-rule-ref. 
>  But, it doesn't support mapping icons this way.  We need to support this.

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

Reply via email to