url in CSS resolves to a relative path

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: 8
    • Component/s: javafx
    • None

      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?

            Assignee:
            David Grieve
            Reporter:
            Debra Masada (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: