You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/08/24 12:15:30 UTC

[jira] Resolved: (HARMONY-4607) [classlib][swing][html]
tag behaves incorrectly

     [ https://issues.apache.org/jira/browse/HARMONY-4607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Petrenko resolved HARMONY-4607.
--------------------------------------

    Resolution: Fixed

The patch has been applied.
Please verify.

> [classlib][swing][html] <br> tag behaves incorrectly
> ----------------------------------------------------
>
>                 Key: HARMONY-4607
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4607
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vasily Zakharov
>            Assignee: Alexey Petrenko
>         Attachments: h4607.fix.patch, Harmony.jpg, RI.jpg
>
>
> On RI <br> tag provides the same line interval the natural line break does.
> In Harmony <br> tag provides too much line interval.
> Here's the simple test reproducing the problem:
> import java.awt.event.*;
> import javax.swing.*;
> public class Test {
>     public static void main(String argv[]) {
>         JFrame frame = new JFrame("Test");
>         frame.addWindowListener(new WindowAdapter() {
>             public void windowClosing(WindowEvent event){
>                 System.exit(0);
>             }
>         });
>         JEditorPane editorPane = new JEditorPane("text/html", "aaa bbb ccc ddd eee fff ggg<br>hhh iii jjj kkk lll mmm nnn ooo ppp");
>         frame.add(editorPane);
>         frame.setSize(150, 150);
>         frame.setVisible(true);
>     }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.