harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4677) [classlib][swing][html] Single space inside a tag is ignored
Date Thu, 23 Aug 2007 14:44:30 GMT

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

Vasily Zakharov updated HARMONY-4677:
-------------------------------------

    Attachment: RI.jpg

> [classlib][swing][html] Single space inside a tag is ignored
> ------------------------------------------------------------
>
>                 Key: HARMONY-4677
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4677
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Vasily Zakharov
>            Priority: Minor
>         Attachments: RI.jpg, RI.jpg
>
>
> If a tag contents only consists of a single space, that space is ignored. This is true
for <a>, <b> and probably any other tag.
> The following test demonstrates the problem:
> import javax.swing.*;
> public class Test {
>     public static void main(String[] args) {
>         JFrame frame = new JFrame("Test");
>         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
>         frame.add(new JEditorPane("text/html", "AAA<b> </b>BBB"));
>         frame.setSize(100, 100);
>         frame.setVisible(true);
>     }
> } 
> The attached screenshots demonstrate the behavior of RI and Harmony.

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


Mime
View raw message