You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Andrey Pavlenko (JIRA)" <ji...@apache.org> on 2007/08/03 08:09:53 UTC
[jira] Commented: (HARMONY-4582) [classlib][swing] JEditorPane does
not support tag in text/html mode
[ https://issues.apache.org/jira/browse/HARMONY-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517454 ]
Andrey Pavlenko commented on HARMONY-4582:
------------------------------------------
I think you missed HTML tags in your test. I could reproduce the issue with the following test case:
public void test() {
JFrame frame = new JFrame("JEditorPane test");
JEditorPane pane = new JEditorPane("text/html",
"<html><body><pre>Hello\nworld!</pre></body></html>");
frame.add(pane);
frame.pack();
frame.setVisible(true);
}
> [classlib][swing] JEditorPane does not support <pre> tag in text/html mode
> --------------------------------------------------------------------------
>
> Key: HARMONY-4582
> URL: https://issues.apache.org/jira/browse/HARMONY-4582
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Alexey Petrenko
> Attachments: HARMONY.JPG, Harmony4582Test.java, RI.JPG
>
>
> JEditorPane does not support <pre> tag: http://www.w3.org/TR/html401/struct/text.html#h-9.3.4
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.