WARNING: CSS Error parsing

Peter Penzov peter.penzov at gmail.com
Wed Oct 15 19:53:24 UTC 2014

   I tested Java 8u40. I get error when I run this part of the code:

setStyle("-fx-background-color: linear-gradient(to bottom, #FAFAFA,
            + " -fx-border: 2px solid; -fx-border-color: white;");

X 15, 2014 10:33:53 PM com.sun.javafx.css.parser.CSSParser declaration
WARNING: CSS Error parsing '*{-fx-background-color: linear-gradient(to
bottom, #FAFAFA, #EAEAEA); -f
x-border: 2px solid; -fx-border-color: white;}: expected series of <size>
while parsing '-fx-border'
 at [1,82]

Is this a bug or css code is wrong?


More information about the openjfx-dev mailing list