mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09: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:
parent
9928baf912
commit
a665a8796a
5 changed files with 82 additions and 110 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue