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
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.
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 CSS_ANON_BOX(mozLineFrame
, ":-moz-line-frame")
64 CSS_ANON_BOX(buttonContent
, ":-moz-button-content")
65 CSS_ANON_BOX(mozButtonLabel
, ":-moz-buttonlabel")
66 CSS_ANON_BOX(cellContent
, ":-moz-cell-content")
67 CSS_ANON_BOX(dropDownList
, ":-moz-dropdown-list")
68 CSS_ANON_BOX(fieldsetContent
, ":-moz-fieldset-content")
69 CSS_ANON_BOX(framesetBlank
, ":-moz-frameset-blank")
70 CSS_ANON_BOX(radio
, ":-moz-radio")
71 CSS_ANON_BOX(check
, ":-moz-checkbox")
72 CSS_ANON_BOX(mozDisplayComboboxControlFrame
, ":-moz-display-comboboxcontrol-frame")
74 CSS_ANON_BOX(inlineTable
, ":-moz-inline-table")
75 CSS_ANON_BOX(table
, ":-moz-table")
76 CSS_ANON_BOX(tableCell
, ":-moz-table-cell")
77 CSS_ANON_BOX(tableColGroup
, ":-moz-table-column-group")
78 CSS_ANON_BOX(tableCol
, ":-moz-table-column")
79 CSS_ANON_BOX(tableOuter
, ":-moz-table-outer")
80 CSS_ANON_BOX(tableRowGroup
, ":-moz-table-row-group")
81 CSS_ANON_BOX(tableRow
, ":-moz-table-row")
83 CSS_ANON_BOX(canvas
, ":-moz-canvas")
84 CSS_ANON_BOX(pageBreak
, ":-moz-pagebreak")
85 CSS_ANON_BOX(page
, ":-moz-page")
86 CSS_ANON_BOX(pageContent
, ":-moz-pagecontent")
87 CSS_ANON_BOX(pageSequence
, ":-moz-page-sequence")
88 CSS_ANON_BOX(scrolledContent
, ":-moz-scrolled-content")
89 CSS_ANON_BOX(scrolledCanvas
, ":-moz-scrolled-canvas")
90 CSS_ANON_BOX(scrolledPageSequence
, ":-moz-scrolled-page-sequence")
91 CSS_ANON_BOX(columnContent
, ":-moz-column-content")
92 CSS_ANON_BOX(viewport
, ":-moz-viewport")
93 CSS_ANON_BOX(viewportScroll
, ":-moz-viewport-scroll")
96 CSS_ANON_BOX(moztreecolumn
, ":-moz-tree-column")
97 CSS_ANON_BOX(moztreerow
, ":-moz-tree-row")
98 CSS_ANON_BOX(moztreeseparator
, ":-moz-tree-separator")
99 CSS_ANON_BOX(moztreecell
, ":-moz-tree-cell")
100 CSS_ANON_BOX(moztreeindentation
, ":-moz-tree-indentation")
101 CSS_ANON_BOX(moztreeline
, ":-moz-tree-line")
102 CSS_ANON_BOX(moztreetwisty
, ":-moz-tree-twisty")
103 CSS_ANON_BOX(moztreeimage
, ":-moz-tree-image")
104 CSS_ANON_BOX(moztreecelltext
, ":-moz-tree-cell-text")
105 CSS_ANON_BOX(moztreecheckbox
, ":-moz-tree-checkbox")
106 CSS_ANON_BOX(moztreeprogressmeter
, ":-moz-tree-progressmeter")
107 CSS_ANON_BOX(moztreedropfeedback
, ":-moz-tree-drop-feedback")
111 CSS_ANON_BOX(mozMathStretchy
, ":-moz-math-stretchy")
112 CSS_ANON_BOX(mozMathAnonymous
, ":-moz-math-anonymous")
113 CSS_ANON_BOX(mozMathInline
, ":-moz-math-inline")
117 CSS_ANON_BOX(mozSVGForeignContent
, ":-moz-svg-foreign-content")