According to BorderWidths javadoc "This value might be interpreted either as an literal value, or as a percentage of the width or height of the Region"
(that what NGRegion implements)
But according to our own CSS spec and HTML5 this should be a percentage of the image source:
http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html
See -fx-border-image-slice
"Percentage values may be used here, in which case the values are considered proportional to the source image."
http://www.w3.org/TR/css3-background/#the-border-image-slice
"Percentages are relative to the size of the image: the width of the image for the horizontal offsets, the height for vertical offsets."
(that what NGRegion implements)
But according to our own CSS spec and HTML5 this should be a percentage of the image source:
http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html
See -fx-border-image-slice
"Percentage values may be used here, in which case the values are considered proportional to the source image."
http://www.w3.org/TR/css3-background/#the-border-image-slice
"Percentages are relative to the size of the image: the width of the image for the horizontal offsets, the height for vertical offsets."
- relates to
-
JDK-8123221 Using "-fx-border-image-repeat: repeat" with "-fx-border-image-slice: 100% fill;" produces a chain of exceptions
-
- Resolved
-