minor cleanup, removed references to obsolete table content factory methods.

git-svn-id: svn://10.0.0.236/trunk@11297 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
buster%netscape.com
1998-09-28 23:16:39 +00:00
parent e25e2b0762
commit 59dc161081
3 changed files with 7 additions and 74 deletions

View File

@@ -368,41 +368,6 @@ extern nsresult NS_NewHTMLContentSink(nsIHTMLContentSink** aInstancePtrResult,
nsIURL* aURL,
nsIWebShell* aWebShell);
/** Create a new table content object <TABLE> */
extern nsresult
NS_NewTablePart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table row group object <THEAD> <TBODY> <TFOOT> */
extern nsresult
NS_NewTableRowGroupPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table row content object <TR> */
extern nsresult
NS_NewTableRowPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table column group content object <COLGROUP> */
extern nsresult
NS_NewTableColGroupPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table column content object <COL> */
extern nsresult
NS_NewTableColPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table cell content object <TD> */
extern nsresult
NS_NewTableCellPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table caption content object <CAPTION> */
extern nsresult
NS_NewTableCaptionPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
extern nsresult
NS_NewHTMLEmbed(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);

View File

@@ -368,41 +368,6 @@ extern nsresult NS_NewHTMLContentSink(nsIHTMLContentSink** aInstancePtrResult,
nsIURL* aURL,
nsIWebShell* aWebShell);
/** Create a new table content object <TABLE> */
extern nsresult
NS_NewTablePart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table row group object <THEAD> <TBODY> <TFOOT> */
extern nsresult
NS_NewTableRowGroupPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table row content object <TR> */
extern nsresult
NS_NewTableRowPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table column group content object <COLGROUP> */
extern nsresult
NS_NewTableColGroupPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table column content object <COL> */
extern nsresult
NS_NewTableColPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table cell content object <TD> */
extern nsresult
NS_NewTableCellPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
/** Create a new table caption content object <CAPTION> */
extern nsresult
NS_NewTableCaptionPart(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);
extern nsresult
NS_NewHTMLEmbed(nsIHTMLContent** aInstancePtrResult,
nsIAtom* aTag);

View File

@@ -134,20 +134,23 @@ NS_CreateHTMLElement(nsIHTMLContent** aInstancePtrResult,
rv = NS_NewHTMLSpacer(aInstancePtrResult, atom);
break;
case eHTMLTag_table:
rv = NS_NewTablePart(aInstancePtrResult, atom);
rv = NS_NewHTMLTableElement(aInstancePtrResult, atom);
break;
case eHTMLTag_tbody:
case eHTMLTag_tfoot:
case eHTMLTag_thead:
rv = NS_NewTableRowGroupPart(aInstancePtrResult, atom);
rv = NS_NewHTMLTableSectionElement(aInstancePtrResult, atom);
break;
case eHTMLTag_td:
case eHTMLTag_th:
rv = NS_NewTableCellPart(aInstancePtrResult, atom);
rv = NS_NewHTMLTableCellElement(aInstancePtrResult, atom);
break;
case eHTMLTag_tr:
rv = NS_NewTableRowPart(aInstancePtrResult, atom);
rv = NS_NewHTMLTableRowElement(aInstancePtrResult, atom);
break;
case eHTMLTag_caption:
rv = NS_NewHTMLTableCaptionElement(aInstancePtrResult, atom);
break;
case eHTMLTag_wbr:
rv = NS_NewHTMLWordBreak(aInstancePtrResult, atom);
break;