[
https://issues.apache.org/jira/browse/TRINIDAD-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025934#comment-13025934
]
Jeanne Waldman commented on TRINIDAD-1866:
------------------------------------------
I just tested -tr-inhibit with skin properties. This works now with skinning
properties, too.
Skin A:
af|breadCrumbs {
-tr-show-last-item: false;
Skin B extends Skin A:
af|breadCrumbs
{
-tr-inhibit: -tr-show-last-item;
}
I don't see the last item with Skin A, and I do see it with Skin B. If I remove
the SkinB's definition, then I don't see it since it inherits 'false' from Skin
A.
> -tr-inhibit does not work with icon skinning selectors
> ------------------------------------------------------
>
> Key: TRINIDAD-1866
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1866
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Components: Skinning
> Affects Versions: 2.0.0-alpha
> Reporter: Jeanne Waldman
> Assignee: Jeanne Waldman
> Fix For: 2.0.0-beta-1
>
>
> related to https://issues.apache.org/jira/browse/TRINIDAD-636 and
> https://issues.apache.org/jira/browse/TRINIDAD-17
> The -tr-inhibit feature does not work for Icon selectors. They do work for
> style selectors.
> Use case:
> purpleSkin.css
> af|selectOrderShuttle::reorder-up-icon {
> content: url(/skins/purple/images/prev.png);
> -tr-rule-ref: selector(".AFDefaultFont:alias");
> border: 2px solid purple;
> }
> purpleBigFont.css (purpleBigFont skin extends purple skin)
> af|selectOrderShuttle::reorder-up-icon {
> content: url(/skins/purple/images/prev.png);
> -tr-rule-ref: selector(".AFDefaultFont:alias");
> -tr-inhibit: border;
> }
> Run the selectOrderShuttle.jspx page demo in purpleBigFont skin.
> EXPECTED:
> I expect to NOT see a border attribute around the reorder-up-icon.
> ACTUAL:
> I see a border around the reorder-up-icon because the -tr-inhibit:border does
> not work for icons. They do work for style selectors.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira