2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
2003-04-10 21:04:07 +00:00
|
|
|
|
2012-07-13 06:33:42 +00:00
|
|
|
// IWYU pragma: private, include "nsEditProperty.h"
|
|
|
|
|
2003-04-10 21:04:07 +00:00
|
|
|
/******
|
|
|
|
|
|
|
|
This file contains the list of all editor nsIAtoms and their values
|
2010-06-21 15:00:43 +00:00
|
|
|
|
2003-04-10 21:04:07 +00:00
|
|
|
It is designed to be used as inline input to nsEditProperty.cpp *only*
|
|
|
|
through the magic of C preprocessing.
|
|
|
|
|
|
|
|
All entries must be enclosed in the macro EDITOR_ATOM which will have cruel
|
|
|
|
and unusual things done to it
|
|
|
|
|
|
|
|
It is recommended (but not strictly necessary) to keep all entries
|
|
|
|
in alphabetical order
|
|
|
|
|
|
|
|
The first argument to EDITOR_ATOM is the C++ identifier of the atom
|
|
|
|
The second argument is the string value of the atom
|
|
|
|
|
|
|
|
******/
|
|
|
|
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(a, "a")
|
|
|
|
EDITOR_ATOM(abbr, "abbr")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(acronym, "acronym")
|
|
|
|
EDITOR_ATOM(address, "address")
|
2010-06-19 18:44:43 +00:00
|
|
|
EDITOR_ATOM(article, "article")
|
|
|
|
EDITOR_ATOM(aside, "aside")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(b, "b")
|
|
|
|
EDITOR_ATOM(bdo, "bdo")
|
|
|
|
EDITOR_ATOM(big, "big")
|
|
|
|
EDITOR_ATOM(blockquote, "blockquote")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(body, "body")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(br, "br")
|
|
|
|
EDITOR_ATOM(button, "button")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(caption, "caption")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(center, "center")
|
|
|
|
EDITOR_ATOM(cite, "cite")
|
|
|
|
EDITOR_ATOM(code, "code")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(col, "col")
|
|
|
|
EDITOR_ATOM(colgroup, "colgroup")
|
|
|
|
EDITOR_ATOM(color, "color")
|
|
|
|
EDITOR_ATOM(cssBackgroundColor, "background-color")
|
|
|
|
EDITOR_ATOM(cssBackgroundImage, "background-image")
|
|
|
|
EDITOR_ATOM(cssBorder, "border")
|
2003-06-25 08:50:48 +00:00
|
|
|
EDITOR_ATOM(cssBottom, "bottom")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(cssCaptionSide, "caption-side")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(cssCmUnit, "cm")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(cssColor, "color")
|
2006-04-10 17:37:44 +00:00
|
|
|
EDITOR_ATOM(cssDirection, "direction")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(cssEmUnit, "em")
|
|
|
|
EDITOR_ATOM(cssExUnit, "ex")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(cssFloat, "float")
|
|
|
|
EDITOR_ATOM(cssFontFamily, "font-family")
|
|
|
|
EDITOR_ATOM(cssFontSize, "font-size")
|
|
|
|
EDITOR_ATOM(cssFontStyle, "font-style")
|
|
|
|
EDITOR_ATOM(cssFontWeight, "font-weight")
|
|
|
|
EDITOR_ATOM(cssHeight, "height")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(cssInUnit, "in")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(cssLeft, "left")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(cssListStyleType, "list-style-type")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(cssMarginLeft, "margin-left")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(cssMarginRight, "margin-right")
|
|
|
|
EDITOR_ATOM(cssMmUnit, "mm")
|
|
|
|
EDITOR_ATOM(cssMozUserModify, "-moz-user-modify")
|
|
|
|
EDITOR_ATOM(cssMozUserSelect, "-moz-user-select")
|
|
|
|
EDITOR_ATOM(cssPcUnit, "pc")
|
|
|
|
EDITOR_ATOM(cssPercentUnit, "%")
|
2003-06-25 08:50:48 +00:00
|
|
|
EDITOR_ATOM(cssPosition, "position")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(cssPtUnit, "pt")
|
|
|
|
EDITOR_ATOM(cssPxUnit, "px")
|
2003-06-25 08:50:48 +00:00
|
|
|
EDITOR_ATOM(cssRight, "right")
|
2003-04-10 21:04:07 +00:00
|
|
|
EDITOR_ATOM(cssTextAlign, "text-align")
|
|
|
|
EDITOR_ATOM(cssTextDecoration, "text-decoration")
|
|
|
|
EDITOR_ATOM(cssTop, "top")
|
|
|
|
EDITOR_ATOM(cssVerticalAlign, "vertical-align")
|
|
|
|
EDITOR_ATOM(cssWhitespace, "white-space")
|
|
|
|
EDITOR_ATOM(cssWidth, "width")
|
2003-06-25 08:50:48 +00:00
|
|
|
EDITOR_ATOM(cssZIndex, "z-index")
|
2013-02-26 20:19:05 +00:00
|
|
|
EDITOR_ATOM(data, "data")
|
2010-09-10 05:16:56 +00:00
|
|
|
EDITOR_ATOM(datalist, "datalist")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(dd, "dd")
|
|
|
|
EDITOR_ATOM(dfn, "dfn")
|
|
|
|
EDITOR_ATOM(div, "div")
|
|
|
|
EDITOR_ATOM(dl, "dl")
|
|
|
|
EDITOR_ATOM(dt, "dt")
|
|
|
|
EDITOR_ATOM(em, "em")
|
|
|
|
EDITOR_ATOM(face, "face")
|
|
|
|
EDITOR_ATOM(fieldset, "fieldset")
|
2010-06-23 17:08:56 +00:00
|
|
|
EDITOR_ATOM(figcaption, "figcaption")
|
|
|
|
EDITOR_ATOM(figure, "figure")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(font, "font")
|
|
|
|
EDITOR_ATOM(footer, "footer")
|
|
|
|
EDITOR_ATOM(form, "form")
|
|
|
|
EDITOR_ATOM(h1, "h1")
|
|
|
|
EDITOR_ATOM(h2, "h2")
|
|
|
|
EDITOR_ATOM(h3, "h3")
|
|
|
|
EDITOR_ATOM(h4, "h4")
|
|
|
|
EDITOR_ATOM(h5, "h5")
|
|
|
|
EDITOR_ATOM(h6, "h6")
|
|
|
|
EDITOR_ATOM(header, "header")
|
|
|
|
EDITOR_ATOM(head, "head")
|
|
|
|
EDITOR_ATOM(hgroup, "hgroup")
|
|
|
|
EDITOR_ATOM(href, "href") // Use to differentiate between "a" for link, "a" for named anchor
|
|
|
|
EDITOR_ATOM(hr, "hr")
|
|
|
|
EDITOR_ATOM(html, "html")
|
|
|
|
EDITOR_ATOM(i, "i")
|
|
|
|
EDITOR_ATOM(img, "img")
|
|
|
|
EDITOR_ATOM(input, "input")
|
|
|
|
EDITOR_ATOM(kbd, "kbd")
|
2010-10-21 21:12:49 +00:00
|
|
|
EDITOR_ATOM(keygen, "keygen")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(label, "label")
|
|
|
|
EDITOR_ATOM(legend, "legend")
|
|
|
|
EDITOR_ATOM(li, "li")
|
2013-01-29 12:31:45 +00:00
|
|
|
EDITOR_ATOM(main, "main")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(map, "map")
|
2010-06-23 17:08:56 +00:00
|
|
|
EDITOR_ATOM(mark, "mark")
|
2012-05-16 11:18:33 +00:00
|
|
|
EDITOR_ATOM(meter, "meter")
|
2011-08-08 17:31:32 +00:00
|
|
|
EDITOR_ATOM(menuitem, "menuitem")
|
2005-12-28 21:52:39 +00:00
|
|
|
EDITOR_ATOM(mozdirty, "_moz_dirty")
|
2010-05-03 13:23:36 +00:00
|
|
|
EDITOR_ATOM(mozEditorBogusNode, "_moz_editor_bogus_node")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(name, "name")
|
|
|
|
EDITOR_ATOM(nav, "nav")
|
|
|
|
EDITOR_ATOM(noscript, "noscript")
|
|
|
|
EDITOR_ATOM(object, "object")
|
|
|
|
EDITOR_ATOM(ol, "ol")
|
|
|
|
EDITOR_ATOM(output, "output")
|
|
|
|
EDITOR_ATOM(p, "p")
|
|
|
|
EDITOR_ATOM(pre, "pre")
|
2011-04-09 17:22:02 +00:00
|
|
|
EDITOR_ATOM(progress, "progress")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(q, "q")
|
|
|
|
EDITOR_ATOM(samp, "samp")
|
|
|
|
EDITOR_ATOM(script, "script")
|
|
|
|
EDITOR_ATOM(section, "section")
|
|
|
|
EDITOR_ATOM(select, "select")
|
|
|
|
EDITOR_ATOM(size, "size")
|
|
|
|
EDITOR_ATOM(small, "small")
|
|
|
|
EDITOR_ATOM(span, "span")
|
|
|
|
EDITOR_ATOM(s, "s")
|
|
|
|
EDITOR_ATOM(strike, "strike")
|
|
|
|
EDITOR_ATOM(strong, "strong")
|
|
|
|
EDITOR_ATOM(sub, "sub")
|
|
|
|
EDITOR_ATOM(sup, "sup")
|
|
|
|
EDITOR_ATOM(table, "table")
|
|
|
|
EDITOR_ATOM(tbody, "tbody")
|
|
|
|
EDITOR_ATOM(td, "td")
|
|
|
|
EDITOR_ATOM(textarea, "textarea")
|
|
|
|
EDITOR_ATOM(tfoot, "tfoot")
|
|
|
|
EDITOR_ATOM(thead, "thead")
|
|
|
|
EDITOR_ATOM(th, "th")
|
2013-02-22 15:07:42 +00:00
|
|
|
EDITOR_ATOM(time, "time")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(tr, "tr")
|
2013-05-21 16:14:00 +00:00
|
|
|
EDITOR_ATOM(track, "track")
|
2010-06-21 15:00:43 +00:00
|
|
|
EDITOR_ATOM(tt, "tt")
|
|
|
|
EDITOR_ATOM(ul, "ul")
|
|
|
|
EDITOR_ATOM(u, "u")
|
|
|
|
EDITOR_ATOM(var, "var")
|