-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
6
-
x86
-
windows_xp
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.
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.