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

Jeanne Waldman commented on TRINIDAD-1680:
------------------------------------------

I see this in base-desktop.xss, so we are probably ok since this explains why 
the goButton and resetButton get the same styling as commandButton. I'll do 
some more testing.
  <style selector="af|commandButton">
    <includeStyle name="AFDefaultFont"/>
    <property name="white-space">nowrap</property>
  </style>

  <style selector="af|goButton">
    <!-- make commandButton primary -->
    <includeStyle selector="af|commandButton"/>
  </style>

  <style selector="af|resetButton">
    <!-- make commandButton primary -->
    <includeStyle selector="af|commandButton"/>
  </style>

> Introduce include-property in CSS
> ---------------------------------
>
>                 Key: TRINIDAD-1680
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1680
>             Project: MyFaces Trinidad
>          Issue Type: New Feature
>          Components: Skinning
>            Reporter: Marius Petoi
>            Priority: Minor
>         Attachments: includeProperty.patch, includeProperty.patch, 
> includeProperty.patch, patchIncludeProperty.patch, patchIncludeProperty.patch
>
>
> The include-property feature is present in the XSS, but it is not supported 
> in the CSS. With this, we are one step closer to eliminating the old XSS 
> files and replacing them with CSS. In the XSS files, the syntax of 
> includeProperty is:
>  <!-- AFVeryDarkForeground is the darkest foreground color in the core (green)
>      color ramp -->
>  <style name="AFVeryDarkForeground">
>   <includeProperty name="AFVeryDarkBackground"
>                    propertyName="background-color"
>                    localPropertyName="color"/>
>  </style>
> This should be ported to CSS also.

-- 
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