You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/08/14 13:54:14 UTC
[jira] Updated: (ADFFACES-121) The url part in the css rule
background:url("foo") is not being translated the same way as
background-image:url("foo")
[ http://issues.apache.org/jira/browse/ADFFACES-121?page=all ]
Simon Lessard updated ADFFACES-121:
-----------------------------------
Attachment: ADFFACES-121.patch
This patch will convert all relative (relative url does not start with '/') url specified within url( ) inside skin properties to a correct context relative url. It will also consider background-image value as an URL even if not enclosed within url( ).
> The url part in the css rule background:url("foo") is not being translated the same way as background-image:url("foo")
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ADFFACES-121
> URL: http://issues.apache.org/jira/browse/ADFFACES-121
> Project: MyFaces ADF-Faces
> Issue Type: Bug
> Components: Skinning
> Environment: All
> Reporter: Martin Kool
> Priority: Minor
> Attachments: ADFFACES-121.patch
>
>
> It seems that in CSS-3 selectors, a url specified in "background-image" is being converted correctly, whereas the same url specified in "backgroun" is not.
> For example, the following two lines of css:
> background: url("../../afr/dropdown_n.gif");
> background-image: url("../../afr/dropdown_n.gif");
> get converted to
> background:url("../../afr/dropdown_n.gif");
> background-image:url("/adf-richclient-demo-context-root/afr/dropdown_n.gif")
> So currently people can use background-url as a workaround, but this should be supported at some time.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira