You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/08/23 16:44:30 UTC
[jira] Updated: (HARMONY-4677) [classlib][swing][html] Single space
inside a tag is ignored
[ 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.