Pavitra Subramaniam created TRINIDAD-2294:
---------------------------------------------

             Summary: 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: 2.0.1-core,  1.2.12-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: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to