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] Created: (HARMONY-4677) [classlib][swing][html] Single space inside a tag is ignored
Date Thu, 23 Aug 2007 14:30:30 GMT
[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

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.add(new JEditorPane("text/html", "AAA<b> </b>BBB"));
        frame.setSize(100, 100);

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.

View raw message