-
Enhancement
-
Resolution: Fixed
-
P4
-
1.3.0
-
b20
-
x86
-
windows_nt
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2153782 | OpenJDK6 | Sergey Groznyh | P2 | Resolved | Fixed | b02 |
Name: boT120536 Date: 02/27/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The JEditorPane does not properly format borders, as this sample HTML with
inline CSS would demonstrate in a browser window.
<html>
<head>
<style>
body
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small
}
TH
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small;
border-bottom: thin solid black
}
TR
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small
}
.summaryCell
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small;
border-bottom: thin solid black
}
</style>
</head>
<body bgcolor="white">
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<tr bgcolor="white">
<th> </th>
<th align = "right">Heading 1</th>
<th align = "right">Heading 2</th>
</tr>
<tr bgcolor="white">
<td>Set 1-A</td>
<td align = "right">$65,000</td>
<td align = "right">$65,000</td>
</tr>
<tr bgcolor="white">
<td>Set 1-B</td>
<td align = "right">10,000</td>
<td align = "right">10,000</td>
</tr>
<tr bgcolor="white">
<td class="summaryCell">Set 1-C</td>
<td class="summaryCell" align = "right">5,000</td>
<td class="summaryCell" align = "right">5,000</td>
</tr>
<tr class="summaryRow" bgcolor="white">
<td class="summaryCell">Set 2-A</td>
<td class="summaryCell" align = "right">80,000</td>
<td class="summaryCell" align = "right">80,000</td>
</tr>
<tr bgcolor="white">
<td>Set 3-A</td>
<td align = "right">2,000</td>
<td align = "right">2,000</td>
</tr>
<tr bgcolor="white">
<td>Set 3-B</td>
<td align = "right">78,000</td>
<td align = "right">78,000</td>
</tr>
<tr bgcolor="white">
<td>Set 3-C</td>
<td align = "right">2,000</td>
<td align = "right">2,000</td>
</tr>
<tr bgcolor="white">
<td class="summaryCell">Set 3-D</td>
<td class="summaryCell" align = "right">76,000</td>
<td class="summaryCell" align = "right">76,000</td>
</tr>
</table>
</body>
</html>
(Review ID: 117797)
======================================================================
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
The JEditorPane does not properly format borders, as this sample HTML with
inline CSS would demonstrate in a browser window.
<html>
<head>
<style>
body
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small
}
TH
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small;
border-bottom: thin solid black
}
TR
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small
}
.summaryCell
{
color: black;
background: white;
font-family: Arial, sans-serif;
font-size: small;
border-bottom: thin solid black
}
</style>
</head>
<body bgcolor="white">
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<tr bgcolor="white">
<th> </th>
<th align = "right">Heading 1</th>
<th align = "right">Heading 2</th>
</tr>
<tr bgcolor="white">
<td>Set 1-A</td>
<td align = "right">$65,000</td>
<td align = "right">$65,000</td>
</tr>
<tr bgcolor="white">
<td>Set 1-B</td>
<td align = "right">10,000</td>
<td align = "right">10,000</td>
</tr>
<tr bgcolor="white">
<td class="summaryCell">Set 1-C</td>
<td class="summaryCell" align = "right">5,000</td>
<td class="summaryCell" align = "right">5,000</td>
</tr>
<tr class="summaryRow" bgcolor="white">
<td class="summaryCell">Set 2-A</td>
<td class="summaryCell" align = "right">80,000</td>
<td class="summaryCell" align = "right">80,000</td>
</tr>
<tr bgcolor="white">
<td>Set 3-A</td>
<td align = "right">2,000</td>
<td align = "right">2,000</td>
</tr>
<tr bgcolor="white">
<td>Set 3-B</td>
<td align = "right">78,000</td>
<td align = "right">78,000</td>
</tr>
<tr bgcolor="white">
<td>Set 3-C</td>
<td align = "right">2,000</td>
<td align = "right">2,000</td>
</tr>
<tr bgcolor="white">
<td class="summaryCell">Set 3-D</td>
<td class="summaryCell" align = "right">76,000</td>
<td class="summaryCell" align = "right">76,000</td>
</tr>
</table>
</body>
</html>
(Review ID: 117797)
======================================================================
- backported by
-
JDK-2153782 JEditorPane CSS not supporting borders properly
- Resolved
- relates to
-
JDK-6604840 No appropriate CCC request for listed JDK 7 changes in javax.swing.text.html package (b20)
- Closed
-
JDK-8149631 rgb(...) CSS color values are not parsed properly
- Resolved
-
JDK-6796710 Html content in JEditorPane is overlapping on swing components while resizing the application.
- Closed
-
JDK-7025525 CSS property list in javax.swing.text.html.CSS is incomplete
- Closed