diff options
Diffstat (limited to 'parser')
-rw-r--r-- | parser/htmlparser/nsHTMLTags.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/parser/htmlparser/nsHTMLTags.h b/parser/htmlparser/nsHTMLTags.h index a2800df07..27a23b89f 100644 --- a/parser/htmlparser/nsHTMLTags.h +++ b/parser/htmlparser/nsHTMLTags.h @@ -17,6 +17,10 @@ class nsIAtom; To change the list of tags, see nsHTMLTagList.h + These enum values are used as the index of array in various places. + If we change the structure of the enum by adding entries to it or removing + entries from it _directly_, not via nsHTMLTagList.h, don't forget to update + dom/bindings/BindingUtils.cpp and dom/html/nsHTMLContentSink.cpp as well. */ #define HTML_TAG(_tag, _classname, _interfacename) eHTMLTag_##_tag, #define HTML_OTHER(_tag) eHTMLTag_##_tag, |