From: SourceForge.net <no...@so...> - 2004-04-05 22:41:07
|
Bugs item #930058, was opened at 2004-04-05 17:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=930058&group_id=13153 Category: DOM Support Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jeff Mills (jtmills) Assigned to: Nobody/Anonymous (nobody) Summary: Document.createElement() doesn't know custom tags Initial Comment: I defined some custom tags in the configuration file using the "new-inline-tags" property. An (X)HTML file containing those tags is parsed and printed correctly. But if I add one such tag using the Document.createElement() method, it is created as a block element instead of an inline element. It is because the DOMDocumentImpl class creates its own TagTable instance for internal use and it is not aware of non-default configuration. I think that the DOMDocumentImpl should use the same TagTable as Tidy. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=930058&group_id=13153 |