You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dave Robinson (JIRA)" <de...@myfaces.apache.org> on 2012/05/12 00:47:52 UTC

[jira] [Created] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Dave Robinson created TRINIDAD-2268:
---------------------------------------

             Summary: -tr-property-ref replacement needs to work with gradient settings
                 Key: TRINIDAD-2268
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Skinning
    Affects Versions:  1.2.12-core
         Environment: This is needed in 1.2.12.6.2 and other current versions
            Reporter: Dave Robinson


We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):

  background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
    background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
    background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
    background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Posted by "Prakash Udupa (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prakash Udupa updated TRINIDAD-2268:
------------------------------------

    Status: Patch Available  (was: Open)
    
> -tr-property-ref replacement needs to work with gradient settings
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-2268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core
>         Environment: This is needed in 1.2.12.6.2 and other current versions
>            Reporter: Dave Robinson
>         Attachments: TRINIDAD-2268_over_trunk.patch
>
>
> We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):
>   background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
>     background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
>     background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
>     background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Posted by "Prakash Udupa (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281217#comment-13281217 ] 

Prakash Udupa commented on TRINIDAD-2268:
-----------------------------------------

Please provide usecases (examples that uses -tr-property-ref) that you expect to work for the above cases.

                
> -tr-property-ref replacement needs to work with gradient settings
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-2268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core
>         Environment: This is needed in 1.2.12.6.2 and other current versions
>            Reporter: Dave Robinson
>
> We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):
>   background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
>     background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
>     background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
>     background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Posted by "Dave Robinson (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281233#comment-13281233 ] 

Dave Robinson commented on TRINIDAD-2268:
-----------------------------------------

We need a way to replace the hex color values with the alias values (which are also assigned to hex values). Ideally reusing the existing -tr-property-ref would be preferred, to be something like this:

background: linear-gradient(top, -tr-property-ref(".AFColor1:alias","color") 0%, -tr-property-ref(".AFColor2:alias","color") 100%); 
background: -moz-linear-gradient(top, -tr-property-ref(".AFColor1:alias","color") 0%, -tr-property-ref(".AFColor2:alias","color") 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,-tr-property-ref(".AFColor1:alias","color")), color-stop(100%,-tr-property-ref(".AFColor2:alias","color")));
background: -webkit-linear-gradient(top, -tr-property-ref(".AFColor1:alias","color") 0%, -tr-property-ref(".AFColor2:alias","color") 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='-tr-property-ref(".AFColor1:alias","color")', endColorstr='-tr-property-ref(".AFColor2:alias","color")',GradientType=0 );
background: -ms-linear-gradient(top,-tr-property-ref(".AFColor1:alias","color") 0%, -tr-property-ref(".AFColor2:alias","color") 100%);

The exact syntax isn't that important - really we just need a way to do color replacements for these instances. 

                
> -tr-property-ref replacement needs to work with gradient settings
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-2268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core
>         Environment: This is needed in 1.2.12.6.2 and other current versions
>            Reporter: Dave Robinson
>
> We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):
>   background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
>     background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
>     background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
>     background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Posted by "Prakash Udupa (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408346#comment-13408346 ] 

Prakash Udupa commented on TRINIDAD-2268:
-----------------------------------------

Please apply this patch over Trinidad trunk.

TRINIDAD-2268_over_trunk.patch

Jeanne Waldman has reviewed this patch already.

                
> -tr-property-ref replacement needs to work with gradient settings
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-2268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core
>         Environment: This is needed in 1.2.12.6.2 and other current versions
>            Reporter: Dave Robinson
>         Attachments: TRINIDAD-2268_over_trunk.patch
>
>
> We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):
>   background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
>     background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
>     background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
>     background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Posted by "Prakash Udupa (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409710#comment-13409710 ] 

Prakash Udupa commented on TRINIDAD-2268:
-----------------------------------------

Not sure why this JIRA issue notes is not showing checkin details. Just for records...

'TRINIDAD-2268_over_trunk.patch' is checked in...
http://svn.apache.org/viewvc?view=revision&revision=1359318

                
> -tr-property-ref replacement needs to work with gradient settings
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-2268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core
>         Environment: This is needed in 1.2.12.6.2 and other current versions
>            Reporter: Dave Robinson
>         Attachments: TRINIDAD-2268_over_trunk.patch
>
>
> We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):
>   background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
>     background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
>     background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
>     background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TRINIDAD-2268) -tr-property-ref replacement needs to work with gradient settings

Posted by "Prakash Udupa (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13410538#comment-13410538 ] 

Prakash Udupa commented on TRINIDAD-2268:
-----------------------------------------

Again... Not sure why this JIRA issue notes is not showing checkin details. Just for records... 

'TRINIDAD-2268_over_trunk_part2.patch' is checked in... 
http://svn.apache.org/viewvc?view=revision&revision=1359778
                
> -tr-property-ref replacement needs to work with gradient settings
> -----------------------------------------------------------------
>
>                 Key: TRINIDAD-2268
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2268
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core
>         Environment: This is needed in 1.2.12.6.2 and other current versions
>            Reporter: Dave Robinson
>         Attachments: TRINIDAD-2268_over_trunk.patch, TRINIDAD-2268_over_trunk_part2.patch
>
>
> We need to be able to use -tr-property-ref to do color replacements for color gradient assignments, like the following (showing examples for all browsers):
>   background: linear-gradient(top, #cce2f6 0%, #b1d2f2 100%); 
>     background: -moz-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cce2f6), color-stop(100%,#b1d2f2));
>     background: -webkit-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);
>     filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cce2f6', endColorstr='#b1d2f2',GradientType=0 );
>     background: -ms-linear-gradient(top, #cce2f6 0%, #b1d2f2 100%);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira