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

inherit.gif should have a transparent background

XMLWordPrintable



      Name: rmT116609 Date: 05/06/2004


      FULL PRODUCT VERSION :
      java version "1.4.2_04"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
      Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      inherit.gif has a white background. That makes it nearly impossible for me to change the background color for my web pages, because they will always have this little white blob near the top.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      use the stylesheet to change your background color to anything non-white or to an image

      generate javadoc

      look at the doc for a class.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The inheritance line should be drawn on my page background
      ACTUAL -
      The inheritance line is drawn in a white blob

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      The only workaround I could come up with was this: Add the following line to the stylesheet.css file:

          h2+pre { background-color: #FFFFFF; }

      It seems that the descendant tree is printed in the only <pre> block that is directly following an <h2> block. The above uses a white background for any such block. Of course, this puts a white bar (containing the full hierarchy) instead of a white blob, but at least it doesn't look accidental.

      Of course another workaround would be to have my build process replace inherit.gif with one with a transparent background, but if inherit.gif is ever changed, that would just blast over it when maybe it should use the new one. So it would leave this time bomb for the future sitting around.

      Another alternative would be to have a program that regenerates inherit.gif from the original changing white to be the transparent color, but somehow adding an image processing subsystem to my build process to deal with this issue seems a bit cannon-vs.-flyswatter, if you know what I mean.
      (Incident Review ID: 241023)
      ======================================================================

            bpatel Bhavesh Patel (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: