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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta
    • sparc
    • solaris_7

       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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: