Re: Classpath-relative URLs in CSS

2014-10-15 Thread Werner Lehmann
Hi David, classpath-relative URLs in CSS do not seem to work, unfortunately. For example, -fx-background-image: url(/mint/report_16x16.png); has no effect. Relative addressing does work. Looks to me as if there is a bug in com.sun.javafx.css.converters.URLConverter.resolve. Basically

Re: Classpath-relative URLs in CSS

2014-10-15 Thread David Grieve
What version of JavaFX? Would you mind creating a bug for this? Other responses in-line. On 10/15/14, 6:38 AM, Werner Lehmann wrote: Hi David, classpath-relative URLs in CSS do not seem to work, unfortunately. For example, -fx-background-image: url(/mint/report_16x16.png); has no effect

Re: Classpath-relative URLs in CSS

2014-10-15 Thread Werner Lehmann
Hi, sure, I'll create a ticket. This is on 8u11. Please see also below. On 15.10.2014 14:36, David Grieve wrote: Two pieces of information are passed into the converter. The first is the value that was given in the style, e.g., /mint/report_16x16.png. The second is the URL of the stylesheet as

Re: Classpath-relative URLs in CSS

2014-10-15 Thread Werner Lehmann
Here's the ticket. Tried it also on 8u25, same result. https://javafx-jira.kenai.com/browse/RT-38991 Werner On 15.10.2014 16:25, Werner Lehmann wrote: sure, I'll create a ticket. This is on 8u11.