You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (JIRA)" <de...@myfaces.apache.org> on 2013/11/14 23:11:21 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 ]

Scott O'Bryan updated TRINIDAD-2294:
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0-core
         Assignee: Jeanne Waldman
           Status: Resolved  (was: Patch Available)

r1388284 | jwaldman | 2012-09-21 00:53:07 +0000 | 2 lines
Changed paths:
   M /myfaces/trinidad/trunk/trinidad-impl/src/main/resources/META-INF/adf/styles/simple-desktop.css

TRINIDAD-2294 AFLogo selector uses a 'relative url' notation when a 'context relative url' is more desirable. 
thanks to Pavitra Subramaniam for the patch


> 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
>            Assignee: Jeanne Waldman
>             Fix For: 2.1.0-core
>
>         Attachments: simple-desktop.xss.patch, trunk-simple-desktop.css.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)