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 it

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

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.

[8u40] Review request for RT-38971: [Chart] Infinite loop after resizing a chart

2014-10-15 Thread Vadim Pakhnushev
Jonathan, Kevin, Please review this fix: https://javafx-jira.kenai.com/browse/RT-38971 http://cr.openjdk.java.net/~vadim/RT-38971/webrev.00/ Thanks, Vadim

[8u40] Review request for RT-37693: QuadCurve example uses labels that refer to cubic curve

2014-10-15 Thread Morris Meyer
Folks, I've uploaded the initial webrev for this issue for review. Thanks much! --morris meyer JIRA - https://javafx-jira.kenai.com/browse/RT-37693 WEBREV - http://cr.openjdk.java.net/~morris/RT-37693.01

WARNING: CSS Error parsing

2014-10-15 Thread Peter Penzov
Hi, I tested Java 8u40. I get error when I run this part of the code: setStyle(-fx-background-color: linear-gradient(to bottom, #FAFAFA, #EAEAEA); + -fx-border: 2px solid; -fx-border-color: white;); X 15, 2014 10:33:53 PM com.sun.javafx.css.parser.CSSParser declaration WARNING:

Re: WARNING: CSS Error parsing

2014-10-15 Thread David Grieve
There is no short-hand for border in JavaFX. You need to use both -fx-border-color and -fx-border-style See http://docs.oracle.com/javase/8/javafx/api/javafx/scene/doc-files/cssref.html On 10/15/14, 3:53 PM, Peter Penzov wrote: Hi, I tested Java 8u40. I get error when I run this part of

8u40 review request: adding unit test for fromFXImage()

2014-10-15 Thread Jim Graham
Kevin, You asked for it, you got it, now you get to review it... ;) webrev: http://cr.openjdk.java.net/~flar/RT-38846/webrev.00/ Jira: https://javafx-jira.kenai.com/browse/RT-38846 ...jim