You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pavitra Subramaniam (JIRA)" <de...@myfaces.apache.org> on 2012/09/19 04:28:07 UTC

[jira] [Updated] (TRINIDAD-2294) AFLogo selector uses a 'relative url' notation when a 'context relative url' is more desirable.

     [ https://issues.apache.org/jira/browse/TRINIDAD-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavitra Subramaniam updated TRINIDAD-2294:
------------------------------------------

    Status: Patch Available  (was: Open)
    
> AFLogo selector uses a 'relative url' notation when a 'context relative url' is more desirable.
> -----------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2294
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2294
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Skinning
>    Affects Versions:  1.2.12-core, 2.0.1-core
>            Reporter: Pavitra Subramaniam
>
> The skin selector - .AFLogo - defined in simple-desktop.xss defines the property 'background-image' using a relative url notation, as follows
>   <style selector=".AFLogo">
>     <property name="background-image">url('../../images/logo-dark.png')</property>
> The above usage runs into problems when images along with other resources get hosted on a CDN for example. It's desirable in this case to use a context relative url (as explained here - http://myfaces.apache.org/trinidad/devguide/skinning.html#urls)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira