diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 06:33:16 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 06:33:16 -0400 |
commit | a72b827325c25c5951b57146e482e49e92e60f32 (patch) | |
tree | b1ee4a67aa31a458c010acdf860d137e3eaa07bc /editor/libeditor | |
parent | 61e46a6d58a58e249f1982d903780bf5bccb8f6b (diff) | |
download | UXP-a72b827325c25c5951b57146e482e49e92e60f32.tar UXP-a72b827325c25c5951b57146e482e49e92e60f32.tar.gz UXP-a72b827325c25c5951b57146e482e49e92e60f32.tar.lz UXP-a72b827325c25c5951b57146e482e49e92e60f32.tar.xz UXP-a72b827325c25c5951b57146e482e49e92e60f32.zip |
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/libeditor')
-rw-r--r-- | editor/libeditor/HTMLEditUtils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/libeditor/HTMLEditUtils.cpp b/editor/libeditor/HTMLEditUtils.cpp index 0adc5d511..5cdad2e9e 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, |