mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-26 23:51:17 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user