Bug 1400777 - Slim down nsElementTable.h

* Remove eHTMLTags
* De-expose HTML group constants[]
* De-expose gHTMLElements[]
* Split nsHTMLElement
* Clean up nsElementTable.{cpp,h}
* Fixup for eHTMLTag removal in Parser

Tag #1375
This commit is contained in:
Matt A. Tobin
2020-04-17 06:33:16 -04:00
committed by Roy Tam
parent 9928baf912
commit a665a8796a
5 changed files with 82 additions and 110 deletions
+2 -2
View File
@@ -76,7 +76,7 @@ nsParserService::HTMLConvertUnicodeToEntity(int32_t aUnicode,
NS_IMETHODIMP
nsParserService::IsContainer(int32_t aId, bool& aIsContainer) const
{
aIsContainer = nsHTMLElement::IsContainer((eHTMLTags)aId);
aIsContainer = nsHTMLElement::IsContainer((nsHTMLTag)aId);
return NS_OK;
}
@@ -84,7 +84,7 @@ nsParserService::IsContainer(int32_t aId, bool& aIsContainer) const
NS_IMETHODIMP
nsParserService::IsBlock(int32_t aId, bool& aIsBlock) const
{
aIsBlock = nsHTMLElement::IsBlock((eHTMLTags)aId);
aIsBlock = nsHTMLElement::IsBlock((nsHTMLTag)aId);
return NS_OK;
}