зеркало из https://github.com/mozilla/pjs.git
299 строки
8.9 KiB
C
299 строки
8.9 KiB
C
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Netscape Public License
|
|
* Version 1.1 (the "License"); you may not use this file except in
|
|
* compliance with the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/NPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is mozilla.org code.
|
|
*
|
|
* The Initial Developer of the Original Code is
|
|
* Netscape Communications Corporation.
|
|
* Portions created by the Initial Developer are Copyright (C) 1999
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
*
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the NPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the NPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
/******
|
|
|
|
This file contains the list of all HTML atoms
|
|
See nsHTMLAtoms.h for access to the atoms
|
|
|
|
It is designed to be used as inline input to nsHTMLAtoms.cpp *only*
|
|
through the magic of C preprocessing.
|
|
|
|
All entires must be enclosed in the macro HTML_ATOM which will have cruel
|
|
and unusual things done to it
|
|
|
|
The first argument to HTML_ATOM is the C++ name of the atom
|
|
The second argument it HTML_ATOM is the string value of the atom
|
|
|
|
******/
|
|
|
|
// OUTPUT_CLASS=nsHTMLAtoms
|
|
// MACRO_NAME=HTML_ATOM
|
|
|
|
HTML_ATOM(_baseHref, NS_HTML_BASE_HREF)
|
|
HTML_ATOM(_baseTarget, NS_HTML_BASE_TARGET)
|
|
HTML_ATOM(a, "a")
|
|
HTML_ATOM(abbr, "abbr")
|
|
HTML_ATOM(above, "above")
|
|
HTML_ATOM(accept, "accept")
|
|
HTML_ATOM(acceptcharset, "accept-charset")
|
|
HTML_ATOM(accesskey, "accesskey")
|
|
HTML_ATOM(action, "action")
|
|
HTML_ATOM(align, "align")
|
|
HTML_ATOM(alink, "alink")
|
|
HTML_ATOM(alt, "alt")
|
|
HTML_ATOM(applet, "applet")
|
|
HTML_ATOM(archive, "archive")
|
|
HTML_ATOM(area, "area")
|
|
HTML_ATOM(autocheck, "autocheck")
|
|
HTML_ATOM(axis, "axis")
|
|
HTML_ATOM(background, "background")
|
|
HTML_ATOM(base, "base")
|
|
HTML_ATOM(below, "below")
|
|
HTML_ATOM(bdo, "bdo")
|
|
HTML_ATOM(bgcolor, "bgcolor")
|
|
HTML_ATOM(big, "big")
|
|
HTML_ATOM(blockquote, "blockquote")
|
|
HTML_ATOM(body, "body")
|
|
HTML_ATOM(border, "border")
|
|
HTML_ATOM(bordercolor, "bordercolor")
|
|
HTML_ATOM(bottommargin, "bottommargin")
|
|
HTML_ATOM(bottompadding, "bottompadding")
|
|
HTML_ATOM(br, "br")
|
|
HTML_ATOM(b, "b")
|
|
HTML_ATOM(button, "button")
|
|
HTML_ATOM(caption, "caption")
|
|
HTML_ATOM(cellpadding, "cellpadding")
|
|
HTML_ATOM(cellspacing, "cellspacing")
|
|
HTML_ATOM(ch, "ch")
|
|
HTML_ATOM(_char, "char")
|
|
HTML_ATOM(charoff, "charoff")
|
|
HTML_ATOM(charset, "charset")
|
|
HTML_ATOM(checked, "checked")
|
|
HTML_ATOM(cite, "cite")
|
|
HTML_ATOM(kClass, "class")
|
|
HTML_ATOM(classid, "classid")
|
|
HTML_ATOM(clear, "clear")
|
|
HTML_ATOM(clip, "clip")
|
|
HTML_ATOM(code, "code")
|
|
HTML_ATOM(codebase, "codebase")
|
|
HTML_ATOM(codetype, "codetype")
|
|
HTML_ATOM(color, "color")
|
|
HTML_ATOM(col, "col")
|
|
HTML_ATOM(colgroup, "colgroup")
|
|
HTML_ATOM(cols, "cols")
|
|
HTML_ATOM(colspan, "colspan")
|
|
HTML_ATOM(combobox, "combobox")
|
|
HTML_ATOM(compact, "compact")
|
|
HTML_ATOM(content, "content")
|
|
HTML_ATOM(coords, "coords")
|
|
HTML_ATOM(dd, "dd")
|
|
HTML_ATOM(defaultchecked, "defaultchecked")
|
|
HTML_ATOM(defaultselected, "defaultselected")
|
|
HTML_ATOM(defaultvalue, "defaultvalue")
|
|
HTML_ATOM(declare, "declare")
|
|
HTML_ATOM(defer, "defer")
|
|
HTML_ATOM(dir, "dir")
|
|
HTML_ATOM(div, "div")
|
|
HTML_ATOM(disabled, "disabled")
|
|
HTML_ATOM(dl, "dl")
|
|
HTML_ATOM(dt, "dt")
|
|
|
|
HTML_ATOM(datetime, "datetime")
|
|
HTML_ATOM(data, "data")
|
|
HTML_ATOM(dfn, "dfn")
|
|
HTML_ATOM(em, "em")
|
|
HTML_ATOM(embed, "embed")
|
|
HTML_ATOM(encoding, "encoding")
|
|
HTML_ATOM(enctype, "enctype")
|
|
HTML_ATOM(_event, "event")
|
|
HTML_ATOM(face, "face")
|
|
HTML_ATOM(fieldset, "fieldset")
|
|
HTML_ATOM(font, "font")
|
|
HTML_ATOM(fontWeight, "font-weight")
|
|
HTML_ATOM(_for, "for")
|
|
HTML_ATOM(form, "form")
|
|
HTML_ATOM(frame, "frame")
|
|
HTML_ATOM(frameborder, "frameborder")
|
|
HTML_ATOM(frameset, "frameset")
|
|
HTML_ATOM(gutter, "gutter")
|
|
HTML_ATOM(h1, "h1")
|
|
HTML_ATOM(h2, "h2")
|
|
HTML_ATOM(h3, "h3")
|
|
HTML_ATOM(h4, "h4")
|
|
HTML_ATOM(h5, "h5")
|
|
HTML_ATOM(h6, "h6")
|
|
HTML_ATOM(head, "head")
|
|
HTML_ATOM(headerContentLanguage, "content-language")
|
|
HTML_ATOM(headerContentScriptType, "content-script-type")
|
|
HTML_ATOM(headerContentStyleType, "content-style-type")
|
|
HTML_ATOM(headerContentType, "content-type")
|
|
HTML_ATOM(headerDefaultStyle, "default-style")
|
|
HTML_ATOM(headerWindowTarget, "window-target")
|
|
HTML_ATOM(headers, "headers")
|
|
HTML_ATOM(height, "height")
|
|
HTML_ATOM(hidden, "hidden")
|
|
HTML_ATOM(hr, "hr")
|
|
HTML_ATOM(href, "href")
|
|
HTML_ATOM(hreflang, "hreflang")
|
|
HTML_ATOM(hspace, "hspace")
|
|
HTML_ATOM(html, "html")
|
|
HTML_ATOM(httpEquiv, "http-equiv")
|
|
HTML_ATOM(i, "i")
|
|
HTML_ATOM(id, "id")
|
|
HTML_ATOM(iframe, "iframe")
|
|
HTML_ATOM(ilayer, "ilayer")
|
|
HTML_ATOM(img, "img")
|
|
HTML_ATOM(index, "index")
|
|
HTML_ATOM(input, "input")
|
|
HTML_ATOM(isindex, "isindex")
|
|
HTML_ATOM(ismap, "ismap")
|
|
HTML_ATOM(label, "label")
|
|
HTML_ATOM(lang, "lang")
|
|
HTML_ATOM(layer, "layer")
|
|
HTML_ATOM(layout, "layout")
|
|
HTML_ATOM(li, "li")
|
|
HTML_ATOM(link, "link")
|
|
HTML_ATOM(left, "left")
|
|
HTML_ATOM(leftmargin, "leftmargin")
|
|
HTML_ATOM(leftpadding, "leftpadding")
|
|
HTML_ATOM(legend, "legend")
|
|
HTML_ATOM(length, "length")
|
|
HTML_ATOM(longdesc, "longdesc")
|
|
HTML_ATOM(lowsrc, "lowsrc")
|
|
HTML_ATOM(map, "map")
|
|
HTML_ATOM(marginheight, "marginheight")
|
|
HTML_ATOM(marginwidth, "marginwidth")
|
|
HTML_ATOM(marquee, "marquee")
|
|
HTML_ATOM(maxlength, "maxlength")
|
|
HTML_ATOM(mayscript, "mayscript")
|
|
HTML_ATOM(media, "media")
|
|
HTML_ATOM(menu, "menu")
|
|
HTML_ATOM(meta, "meta")
|
|
HTML_ATOM(method, "method")
|
|
HTML_ATOM(msthemecompatible, "msthemecompatible")
|
|
HTML_ATOM(multicol, "multicol")
|
|
HTML_ATOM(multiple, "multiple")
|
|
HTML_ATOM(name, "name")
|
|
HTML_ATOM(noembed, "noembed")
|
|
HTML_ATOM(noframes, "noframes")
|
|
HTML_ATOM(nohref, "nohref")
|
|
HTML_ATOM(noresize, "noresize")
|
|
HTML_ATOM(noscript, "noscript")
|
|
HTML_ATOM(noshade, "noshade")
|
|
HTML_ATOM(nowrap, "nowrap")
|
|
HTML_ATOM(object, "object")
|
|
HTML_ATOM(ol, "ol")
|
|
HTML_ATOM(optgroup, "optgroup")
|
|
HTML_ATOM(option, "option")
|
|
HTML_ATOM(overflow, "overflow")
|
|
HTML_ATOM(p, "p")
|
|
HTML_ATOM(pagex, "pagex")
|
|
HTML_ATOM(pagey, "pagey")
|
|
HTML_ATOM(param, "param")
|
|
HTML_ATOM(plaintext, "plaintext")
|
|
HTML_ATOM(pointSize, "point-size")
|
|
HTML_ATOM(pre, "pre")
|
|
HTML_ATOM(profile, "profile")
|
|
HTML_ATOM(prompt, "prompt")
|
|
HTML_ATOM(readonly, "readonly")
|
|
HTML_ATOM(refresh, "refresh")
|
|
HTML_ATOM(rel, "rel")
|
|
HTML_ATOM(repeat, "repeat")
|
|
HTML_ATOM(rev, "rev")
|
|
HTML_ATOM(rightmargin, "rightmargin")
|
|
HTML_ATOM(rightpadding, "rightpadding")
|
|
HTML_ATOM(rows, "rows")
|
|
HTML_ATOM(rowspan, "rowspan")
|
|
HTML_ATOM(rules, "rules")
|
|
HTML_ATOM(s, "s")
|
|
HTML_ATOM(scheme, "scheme")
|
|
HTML_ATOM(scope, "scope")
|
|
HTML_ATOM(script, "script")
|
|
HTML_ATOM(scrolling, "scrolling")
|
|
HTML_ATOM(select, "select")
|
|
HTML_ATOM(selected, "selected")
|
|
HTML_ATOM(selectedindex, "selectedindex")
|
|
HTML_ATOM(setcookie, "set-cookie")
|
|
HTML_ATOM(shape, "shape")
|
|
HTML_ATOM(size, "size")
|
|
HTML_ATOM(small, "small")
|
|
HTML_ATOM(spacer, "spacer")
|
|
HTML_ATOM(span, "span")
|
|
HTML_ATOM(src, "src")
|
|
HTML_ATOM(standby, "standby")
|
|
HTML_ATOM(start, "start")
|
|
HTML_ATOM(strike, "strike")
|
|
HTML_ATOM(strong, "strong")
|
|
HTML_ATOM(style, "style")
|
|
HTML_ATOM(summary, "summary")
|
|
HTML_ATOM(suppress, "suppress")
|
|
HTML_ATOM(tabindex, "tabindex")
|
|
HTML_ATOM(table, "table")
|
|
HTML_ATOM(tabstop, "tabstop")
|
|
HTML_ATOM(target, "target")
|
|
HTML_ATOM(tbody, "tbody")
|
|
HTML_ATOM(td, "td")
|
|
HTML_ATOM(tfoot, "tfoot")
|
|
HTML_ATOM(thead, "thead")
|
|
HTML_ATOM(text, "text")
|
|
HTML_ATOM(textarea, "textarea")
|
|
HTML_ATOM(th, "th")
|
|
HTML_ATOM(title, "title")
|
|
HTML_ATOM(top, "top")
|
|
HTML_ATOM(topmargin, "topmargin")
|
|
HTML_ATOM(toppadding, "toppadding")
|
|
HTML_ATOM(tr, "tr")
|
|
HTML_ATOM(tt, "tt")
|
|
HTML_ATOM(type, "type")
|
|
HTML_ATOM(u, "u")
|
|
HTML_ATOM(ul, "ul")
|
|
HTML_ATOM(usemap, "usemap")
|
|
HTML_ATOM(valign, "valign")
|
|
HTML_ATOM(value, "value")
|
|
HTML_ATOM(valuetype, "valuetype")
|
|
HTML_ATOM(variable, "variable")
|
|
HTML_ATOM(vcard_name, "vcard_name")
|
|
HTML_ATOM(version, "version")
|
|
HTML_ATOM(visibility, "visibility")
|
|
HTML_ATOM(vlink, "vlink")
|
|
HTML_ATOM(vspace, "vspace")
|
|
HTML_ATOM(wbr, "wbr")
|
|
HTML_ATOM(width, "width")
|
|
HTML_ATOM(wrap, "wrap")
|
|
HTML_ATOM(wrappedFramePseudo, ":-moz-wrapped-frame")
|
|
HTML_ATOM(xmp, "xmp")
|
|
HTML_ATOM(zindex, "zindex")
|
|
HTML_ATOM(z_index, "z-index")
|
|
|
|
#ifdef DEBUG
|
|
HTML_ATOM(iform, "IForm")
|
|
HTML_ATOM(form_control_list, "FormControlList")
|
|
#endif
|
|
|