author | Daniel Holbert <dholbert@cs.stanford.edu> |
Wed, 06 Feb 2013 10:22:46 -0800 | |
changeset 121038 | e43702bffb92086ecdaaed71727d0f3b52eda431 |
parent 121037 | ed505e66515824451dea87a1ab539c64cf4c5d42 |
child 121039 | e65517972de2e638646cadb33d543c7061dfb2a6 |
push id | 22542 |
push user | dholbert@mozilla.com |
push date | Wed, 06 Feb 2013 18:25:43 +0000 |
treeherder | mozilla-inbound@e43702bffb92 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | hsivonen |
bugs | 838715 |
milestone | 21.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/parser/htmlparser/public/nsHTMLTagList.h +++ b/parser/htmlparser/public/nsHTMLTagList.h @@ -2,27 +2,27 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ // IWYU pragma: private, include "nsHTMLTags.h" /****** - This file contains the list of all HTML tags - See nsHTMLTags.h for access to the enum values for tags + This file contains the list of all HTML tags. + See nsHTMLTags.h for access to the enum values for tags. It is designed to be used as inline input to nsHTMLTags.cpp and nsHTMLContentSink *only* through the magic of C preprocessing. All entries must be enclosed in the macro HTML_TAG which will have cruel - and unusual things done to it + and unusual things done to it. It is recommended (but not strictly necessary) to keep all entries - in alphabetical order + in alphabetical order. The first argument to HTML_TAG is both the enum identifier of the property and the string value. The second argument is the "creator" method of the form NS_New$TAGNAMEElement, that will be used by nsHTMLContentSink.cpp to create a content object for a tag of that type. Use NOTUSED, if the particular tag has a non-standard creator. The HTML_OTHER macro is for values in the nsHTMLTag enum that are