-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.3.0
-
sparc
-
solaris_2.6
JEditorPane renders a horizontal rule with the same thickness no matter what you specify the SIZE attribute to be.
Here is a sample file:
<html>
<head>
<title>Dividers1</title>
</head>
<body>
<h2>Horizontal Rules (Thickness Test)</h2>
<P>2 pixels
<HR ALIGN="LEFT"><br>
</P>
<P>10 pixels
<HR ALIGN="LEFT" SIZE="10"><br>
</P>
<P>30 pixels
<HR ALIGN="LEFT" SIZE="30"><br>
</P>
</body>
</html>
Instructions:
1) Save the above file.
2) Load it into JEditorPane.
edmund.lou@eng 1999-10-19
Here is a sample file:
<html>
<head>
<title>Dividers1</title>
</head>
<body>
<h2>Horizontal Rules (Thickness Test)</h2>
<P>2 pixels
<HR ALIGN="LEFT"><br>
</P>
<P>10 pixels
<HR ALIGN="LEFT" SIZE="10"><br>
</P>
<P>30 pixels
<HR ALIGN="LEFT" SIZE="30"><br>
</P>
</body>
</html>
Instructions:
1) Save the above file.
2) Load it into JEditorPane.
edmund.lou@eng 1999-10-19
- duplicates
-
JDK-4321101 <HR> tag ignores "size" attribute
-
- Resolved
-