Description
Various Ensemble8 samples have CSS entries that use "url" to point to images. For example:
-fx-background-image: url("/ensemble/samples/shared-resources/Curve-fitted-background.png");
We were expecting the above url to start from the root when looking for the above file (i.e. we expected the file really to be at /ensemble/samples/shared-resources/Curve-fitted-background.png). But it looks like the url resolves to a path relative to a different root. It looks like the above ends up looking for a file at: /ensemble/samples/charts/area/curvefitted/ensemble/samples/shared-resources/Curve-fitted-background.png instead of just /ensemble/samples/shared-resources/Curve-fitted-background.png.
I think the first part of the former path (the long path) is the location of the CSS file that has the url entry.
Is it supposed to be this way?
-fx-background-image: url("/ensemble/samples/shared-resources/Curve-fitted-background.png");
We were expecting the above url to start from the root when looking for the above file (i.e. we expected the file really to be at /ensemble/samples/shared-resources/Curve-fitted-background.png). But it looks like the url resolves to a path relative to a different root. It looks like the above ends up looking for a file at: /ensemble/samples/charts/area/curvefitted/ensemble/samples/shared-resources/Curve-fitted-background.png instead of just /ensemble/samples/shared-resources/Curve-fitted-background.png.
I think the first part of the former path (the long path) is the location of the CSS file that has the url entry.
Is it supposed to be this way?
Attachments
Issue Links
- relates to
-
JDK-8123188 Ensemble8 CurveFittedAreaChart gets an NPE in NGRegion
-
- Closed
-