CLOSED TREE: TraceMonkey merge head. (a=blockers)
[mozilla-central.git] / layout / style / nsCSSAnonBoxList.h
blob34438b8ff4f332ca3adb397f1af75bbfb106f14e
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* ***** BEGIN LICENSE BLOCK *****
3 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 * The contents of this file are subject to the Mozilla Public License Version
6 * 1.1 (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 * http://www.mozilla.org/MPL/
10 * Software distributed under the License is distributed on an "AS IS" basis,
11 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 * for the specific language governing rights and limitations under the
13 * License.
15 * The Original Code is atom lists for CSS pseudos.
17 * The Initial Developer of the Original Code is
18 * Netscape Communications Corporation.
19 * Portions created by the Initial Developer are Copyright (C) 1998
20 * the Initial Developer. All Rights Reserved.
22 * Contributor(s):
23 * L. David Baron <dbaron@dbaron.org>
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 /* atom list for CSS anonymous boxes */
42 * This file contains the list of nsIAtoms and their values for CSS
43 * pseudo-element-ish things used internally for anonymous boxes. It is
44 * designed to be used as inline input to nsCSSAnonBoxes.cpp *only*
45 * through the magic of C preprocessing. All entries must be enclosed
46 * in the macro CSS_ANON_BOX which will have cruel and unusual things
47 * done to it. The entries should be kept in some sort of logical
48 * order. The first argument to CSS_ANON_BOX is the C++ identifier of
49 * the atom. The second argument is the string value of the atom.
52 // OUTPUT_CLASS=nsCSSAnonBoxes
53 // MACRO_NAME=CSS_ANON_BOX
55 CSS_ANON_BOX(mozNonElement, ":-moz-non-element")
57 CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block")
58 CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block")
59 CSS_ANON_BOX(mozMathMLAnonymousBlock, ":-moz-mathml-anonymous-block")
60 CSS_ANON_BOX(mozXULAnonymousBlock, ":-moz-xul-anonymous-block")
62 // Framesets
63 CSS_ANON_BOX(horizontalFramesetBorder, ":-moz-hframeset-border")
64 CSS_ANON_BOX(verticalFramesetBorder, ":-moz-vframeset-border")
66 CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame")
68 CSS_ANON_BOX(buttonContent, ":-moz-button-content")
69 CSS_ANON_BOX(mozButtonLabel, ":-moz-buttonlabel")
70 CSS_ANON_BOX(cellContent, ":-moz-cell-content")
71 CSS_ANON_BOX(dropDownList, ":-moz-dropdown-list")
72 CSS_ANON_BOX(fieldsetContent, ":-moz-fieldset-content")
73 CSS_ANON_BOX(framesetBlank, ":-moz-frameset-blank")
74 CSS_ANON_BOX(mozDisplayComboboxControlFrame, ":-moz-display-comboboxcontrol-frame")
76 CSS_ANON_BOX(inlineTable, ":-moz-inline-table")
77 CSS_ANON_BOX(table, ":-moz-table")
78 CSS_ANON_BOX(tableCell, ":-moz-table-cell")
79 CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group")
80 CSS_ANON_BOX(tableCol, ":-moz-table-column")
81 CSS_ANON_BOX(tableOuter, ":-moz-table-outer")
82 CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group")
83 CSS_ANON_BOX(tableRow, ":-moz-table-row")
85 CSS_ANON_BOX(canvas, ":-moz-canvas")
86 CSS_ANON_BOX(pageBreak, ":-moz-pagebreak")
87 CSS_ANON_BOX(page, ":-moz-page")
88 CSS_ANON_BOX(pageContent, ":-moz-pagecontent")
89 CSS_ANON_BOX(pageSequence, ":-moz-page-sequence")
90 CSS_ANON_BOX(scrolledContent, ":-moz-scrolled-content")
91 CSS_ANON_BOX(scrolledCanvas, ":-moz-scrolled-canvas")
92 CSS_ANON_BOX(scrolledPageSequence, ":-moz-scrolled-page-sequence")
93 CSS_ANON_BOX(columnContent, ":-moz-column-content")
94 CSS_ANON_BOX(viewport, ":-moz-viewport")
95 CSS_ANON_BOX(viewportScroll, ":-moz-viewport-scroll")
97 #ifdef MOZ_XUL
98 CSS_ANON_BOX(moztreecolumn, ":-moz-tree-column")
99 CSS_ANON_BOX(moztreerow, ":-moz-tree-row")
100 CSS_ANON_BOX(moztreeseparator, ":-moz-tree-separator")
101 CSS_ANON_BOX(moztreecell, ":-moz-tree-cell")
102 CSS_ANON_BOX(moztreeindentation, ":-moz-tree-indentation")
103 CSS_ANON_BOX(moztreeline, ":-moz-tree-line")
104 CSS_ANON_BOX(moztreetwisty, ":-moz-tree-twisty")
105 CSS_ANON_BOX(moztreeimage, ":-moz-tree-image")
106 CSS_ANON_BOX(moztreecelltext, ":-moz-tree-cell-text")
107 CSS_ANON_BOX(moztreecheckbox, ":-moz-tree-checkbox")
108 CSS_ANON_BOX(moztreeprogressmeter, ":-moz-tree-progressmeter")
109 CSS_ANON_BOX(moztreedropfeedback, ":-moz-tree-drop-feedback")
110 #endif
112 #ifdef MOZ_SVG
113 CSS_ANON_BOX(mozSVGForeignContent, ":-moz-svg-foreign-content")
114 #endif