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

JEditorPane doesn't recognize CSS vertical-align property

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 5.0u1
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      x86
    • OS:
      windows_2000

      Description

      JavaHelp uses the Swing JEditorPane component to display HTML help topics. This component ignores the the following CSS definition, which uses a valid CSS property:

      tr {vertical-align: top;}

      The result is that we have to specify <tr valign="top"> for every row in our HTML tables, because our style requires top alignment rather than the default "middle".
      ###@###.### 2004-08-30

        Issue Links

          Activity

          Hide
          idk Igor Kushnirskiy (Inactive) added a comment -
          BT2:EVALUATION

          swing-html css support is limited at this point.
          tr {vertical-align: top;} does not work because it has not been implemented yet
          Will work on this bug for the next release.
          Meanwile using <tr valign="top"> might be the only solution
          ###@###.### 2004-08-31
          Show
          idk Igor Kushnirskiy (Inactive) added a comment - BT2:EVALUATION swing-html css support is limited at this point. tr {vertical-align: top;} does not work because it has not been implemented yet Will work on this bug for the next release. Meanwile using <tr valign="top"> might be the only solution ###@###.### 2004-08-31

            People

            • Assignee:
              peterz Peter Zhelezniakov (Inactive)
              Reporter:
              duke J. Duke (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: