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

JEditorPane: URLs in external CSS should be evaluated relative to the CSS

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_7

      Description

       If I add this style to an external style sheet:
       
       ul {margin-top: 5;
           margin-bottom: 5;
           margin-left: 14;
           list-style-image: ../images/bullet1.gif}
       
       I would expect the URL (../images/bullet1.gif) to be evaluated
       relative to the path of the style sheet. In JDK 1.3, the path is
       evaluated relative to the HTML file in which the <ul> list appears.
       This means that the image isn't found in some HTML files
       located at hierarchically different levels from the image.

        Attachments

          Activity

            People

            • Assignee:
              svioletsunw Scott Violet (Inactive)
              Reporter:
              lmhoffma Larry Hoffman (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: