Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095646

[CSS] cssref contains incorrect and insufficient information about url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: emb-8u6, 8u20
    • Component/s: javafx
    • Labels:
    • Environment:

      8.0 b121

      Description

      Instead of partially fixed RT-21511:
      "<URI> section of cssref.html has the following problems:
      1. It doesn't specify what is the relative location in case of setStyle() usage. My experiments show that it is relative to the classes root (Not the particular class package which one may expect).
      2. It doesn't specify what is the root (if you start your URI with "/" symbol). For example, when url('img/JavaFX.png') works url('/img/JavaFX.png') doesn't work. "

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dgrieve David Grieve
              Reporter:
              ogb Oleg Barbashov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: