-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.3.0
-
generic
-
generic
Name: krT82822 Date: 02/26/2000
(see also 4282754, 4170603 )
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)
JEditorPane incorrectly displays HTML tables, nested into tables with ROWSPAN
or COLSPAN tag. Here are some HTML examples:
COLSPAN exmple:
<pre>
<TABLE BORDER WIDTH="100%" >
<TR>
<TD VALIGN=TOP WIDTH="98%" colspan="3">
<table border width="100%" >
<tr nowrap>
<td colspan="2"><b>Colspan Cell That Should
Run From One End Of The Table To Another</td>
</tr>
<tr nowrap>
<td><b>1.</b></td>
<td>long line long line long line long line long
line long line long line long line long line long line long line long line long
line long line long line long line long line long line long line long line long
line long line long line </td>
</tr>
<tr nowrap>
<td><b>2.</b></td>
<td>Some data here</td>
</tr>
<tr nowrap>
<td><b>3.</b></td>
<td>Some data here</td>
</tr>
<tr nowrap>
<td><b>4.</b></td>
<td>Some data here</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
</pre>
ROWSPAN example:
<pre>
<table width="650" height="900" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td bgcolor="#FFCC99" height="900" width="29%" rowspan="2"
valign="bottom">
</td>
<td height="319" width="2%" valign="top"
bgcolor="#FF9900"> </td>
<td width="69%" rowspan="2" valign="top">
<div align="center">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table width="68%" border="0">
<tr>
<td width="86%"><b>Table
of Contents</b></td>
</tr>
<tr>
<td width="86%" bgcolor="#FFCC99"><b>Section
1</b></td>
<td width="14%"> </td>
</tr>
<tr>
<td width="86%" height="10">AAAAAA</td>
<td width="14%" height="10">
2
</td>
</tr>
<tr>
<td width="86%">BBBBBB</td>
<td width="14%">3</td>
</tr>
<tr>
<td width="86%"> </td>
<td width="14%"> </td>
</tr>
<tr>
<td width="86%" bgcolor="#FFCC99"><b>Section
2 </b></td>
<td width="14%"> </td>
</tr>
<tr>
<td width="86%">CCCCCC</td>
<td width="14%">4</td>
</tr>
<tr>
<td width="86%">DDDDDD</td>
<td width="14%">7</td>
</tr>
<tr>
<td width="86%"> </td>
<td width="14%"> </td>
</tr>
<tr>
<td width="86%" bgcolor="#FFCC99"><b>Section
3 </b></td>
<td width="14%"> </td>
</tr>
<tr>
<td width="86%">XXXXXX</td>
<td width="14%">8</td>
</tr>
<tr>
<td width="86%">YYYYYY</td>
<td width="14%">9</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td height="277" width="2%"> </td>
</tr>
</table>
</pre>
(Review ID: 101751)
======================================================================
- duplicates
-
JDK-4314198 JEditorPane garbles display of HTML that was OK in 1.2.2
-
- Resolved
-
- relates to
-
JDK-4282754 JEditorPane: Table not rendering correctly for these examples.
-
- Closed
-