summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-17 06:33:16 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-17 06:33:16 -0400
commita72b827325c25c5951b57146e482e49e92e60f32 (patch)
treeb1ee4a67aa31a458c010acdf860d137e3eaa07bc /editor
parent61e46a6d58a58e249f1982d903780bf5bccb8f6b (diff)
downloaduxp-a72b827325c25c5951b57146e482e49e92e60f32.tar.gz
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
Diffstat (limited to 'editor')
-rw-r--r--editor/libeditor/HTMLEditUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/libeditor/HTMLEditUtils.cpp b/editor/libeditor/HTMLEditUtils.cpp
index 0adc5d5113..5cdad2e9e9 100644
--- a/editor/libeditor/HTMLEditUtils.cpp
+++ b/editor/libeditor/HTMLEditUtils.cpp
@@ -583,7 +583,7 @@ HTMLEditUtils::SupportsAlignAttr(nsIDOMNode* aNode)
struct ElementInfo final
{
#ifdef DEBUG
- eHTMLTags mTag;
+ nsHTMLTag mTag;
#endif
uint32_t mGroup;
uint32_t mCanContainGroups;
@@ -794,7 +794,7 @@ HTMLEditUtils::CanContain(int32_t aParent, int32_t aChild)
// Special-case button.
if (aParent == eHTMLTag_button) {
- static const eHTMLTags kButtonExcludeKids[] = {
+ static const nsHTMLTag kButtonExcludeKids[] = {
eHTMLTag_a,
eHTMLTag_fieldset,
eHTMLTag_form,