Display HTML document with a fixed width

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: client-libs

      There is a bug with HTMLDocument used from JEditorPane and JTextPane. If in
      the HTML a pre formatted line then this line has a fixed width. It look like
      that this fixed line width is used as minimum width for all paragraphs. This
      seems incorrect because all browsers (Firefox 2.0, IE 6.0 and Opera 8.0) has
      different behavior. I have attached a java test program and screenshots from
      browser and Java to make the problem visible. In the browser a large object
      or a not breakable line does not change the behavior of another paragraphs.

            Assignee:
            Peter Zhelezniakov
            Reporter:
            Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: