-
Bug
-
Resolution: Fixed
-
P4
-
1.2.1, 1.2.2
-
beta
-
generic, sparc
-
generic, solaris_2.5.1
Name: akC57697 Date: 04/09/99
This bug was found by St.Petersburg Java SQE team (by Sergey Scherbakov).
JavaDoc say:
A factory to build views for html. The following table describes what this
factory will build by default.
Tag
View
created
HTML.Tag.CONTENT
InlineView
HTML.Tag.IMPLIED........
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ broken view
The java file HTMLEditorKit.java 1.79 conatins:
/**
* A factory to build views for html. The following
* table describes what this factory will build by
* default.
*
* <table>
* <th>Tag<th>View created
* <td>HTML.Tag.CONTENT<td>InlineView
* <td>HTML.Tag.IMPLIED<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.P<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.H1<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.H2<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.H3<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.H4<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.H5<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.H6<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.DT<td>javax.swing.text.html.ParagraphView
* <td>HTML.Tag.MENU<td>ListView
* <td>HTML.Tag.DIR<td>ListView
* <td>HTML.Tag.UL<td>ListView
* <td>HTML.Tag.OL<td>ListView
* <td>HTML.Tag.LI<td>BlockView
* <td>HTML.Tag.DL<td>BlockView
* <td>HTML.Tag.DD<td>BlockView
* <td>HTML.Tag.BODY<td>BlockView
* <td>HTML.Tag.HTML<td>BlockView
* <td>HTML.Tag.CENTER<td>BlockView
* <td>HTML.Tag.DIV<td>BlockView
* <td>HTML.Tag.BLOCKQUOTE<td>BlockView
* <td>HTML.Tag.PRE<td>BlockView
* <td>HTML.Tag.BLOCKQUOTE<td>BlockView
* <td>HTML.Tag.PRE<td>BlockView
* <td>HTML.Tag.IMG<td>ImageView
* <td>HTML.Tag.HR<td>HRuleView
* <td>HTML.Tag.BR<td>BRView
* <td>HTML.Tag.TABLE<td>javax.swing.text.html.TableView
* <td>HTML.Tag.INPUT<td>FormView
* <td>HTML.Tag.SELECT<td>FormView
* <td>HTML.Tag.TEXTAREA<td>FormView
* <td>HTML.Tag.OBJECT<td>ObjectView
* <td>HTML.Tag.FRAMESET<td>FrameSetView
* <td>HTML.Tag.FRAME<td>FrameView
* </table>
*/
======================================================================
Name: skT88420 Date: 05/19/99
The API documentation for
javax.swing.html.HTMLEditorKit.HTMLFactory contains a table of
tags and view names. This table looks like it is supposed to be
two columns by 28 rows (or so). In fact, there are no <tr> tags,
so it ends up being a single row with 56 columns, which is
rather hard to read.
(Review ID: 83240)
======================================================================