Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 36378 invoked from network); 29 Aug 2007 06:53:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 06:53:51 -0000 Received: (qmail 57905 invoked by uid 500); 29 Aug 2007 06:53:47 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 57888 invoked by uid 500); 29 Aug 2007 06:53:47 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 57879 invoked by uid 99); 29 Aug 2007 06:53:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 23:53:47 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 06:53:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 203DD714163 for ; Tue, 28 Aug 2007 23:53:31 -0700 (PDT) Message-ID: <23274113.1188370411076.JavaMail.jira@brutus> Date: Tue, 28 Aug 2007 23:53:31 -0700 (PDT) From: "Alexey A. Ivanov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4610) [classlib][swing][html]Border and spacing attributes processing are unimplemented In-Reply-To: <23427348.1186498799911.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523479 ] Alexey A. Ivanov commented on HARMONY-4610: ------------------------------------------- img:link could be implemented. If I remember correctly Swing CSS parser understands such a construct but it is ignored when converting declarations to StyleSheet rules. > [classlib][swing][html]Border and spacing attributes processing are unimplemented > --------------------------------------------------------------------------------- > > Key: HARMONY-4610 > URL: https://issues.apache.org/jira/browse/HARMONY-4610 > Project: Harmony > Issue Type: Bug > Reporter: Dmitry Irlyanov > Assignee: Alexey Petrenko > Attachments: example.jpg, H4610-ImageView.patch, Harmony output.jpg, RI output.jpg > > > When one trying to draw a border for an image in html file one can add border attribute in img tag. For harmony it doesn't work > import java.net.URL; > import javax.swing.JEditorPane; > import javax.swing.JFrame; > public class Test { > private final static URL url = Test.class.getResource("example.jpg"); > > /** > * @param args > */ > public static void main(String[] args) { > > JEditorPane editorPane = new JEditorPane( > "text/html", > " + " border=10 hspace=30 vspace=30 align=center alt=\"test\">" > ); > > JFrame frame = new JFrame("Test"); > frame.add(editorPane); > frame.setSize(400, 300); > frame.setVisible(true); > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.