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 ***** */
40
* This file contains the list of nsIAtoms and their values for CSS
41
* pseudo-element-ish things used internally for anonymous boxes. It is
42
* designed to be used as inline input to nsCSSAnonBoxes.cpp *only*
43
* through the magic of C preprocessing. All entries must be enclosed
44
* in the macro CSS_ANON_BOX which will have cruel and unusual things
45
* done to it. The entries should be kept in some sort of logical
46
* order. The first argument to CSS_ANON_BOX is the C++ identifier of
47
* the atom. The second argument is the string value of the atom.
50
// OUTPUT_CLASS=nsCSSAnonBoxes
51
// MACRO_NAME=CSS_ANON_BOX
53
CSS_ANON_BOX(mozNonElement, ":-moz-non-element")
55
CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block")
56
CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block")
58
CSS_ANON_BOX(mozFirstLineFixup, ":-moz-first-line-fixup")
59
CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame")
61
CSS_ANON_BOX(buttonContent, ":-moz-button-content")
62
CSS_ANON_BOX(mozButtonLabel, ":-moz-buttonlabel")
63
CSS_ANON_BOX(cellContent, ":-moz-cell-content")
64
CSS_ANON_BOX(dropDownList, ":-moz-dropdown-list")
65
CSS_ANON_BOX(fieldsetContent, ":-moz-fieldset-content")
66
CSS_ANON_BOX(framesetBlank, ":-moz-frameset-blank")
67
CSS_ANON_BOX(radio, ":-moz-radio")
68
CSS_ANON_BOX(check, ":-moz-checkbox")
69
CSS_ANON_BOX(mozSingleLineTextControlFrame, ":-moz-singleline-textcontrol-frame")
70
CSS_ANON_BOX(mozDisplayComboboxControlFrame, ":-moz-display-comboboxcontrol-frame")
71
CSS_ANON_BOX(dummyOption, ":-moz-dummy-option")
73
CSS_ANON_BOX(table, ":-moz-table")
74
CSS_ANON_BOX(tableCell, ":-moz-table-cell")
75
CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group")
76
CSS_ANON_BOX(tableCol, ":-moz-table-column")
77
CSS_ANON_BOX(tableOuter, ":-moz-table-outer")
78
CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group")
79
CSS_ANON_BOX(tableRow, ":-moz-table-row")
81
CSS_ANON_BOX(canvas, ":-moz-canvas")
82
CSS_ANON_BOX(pageBreak, ":-moz-pagebreak")
83
CSS_ANON_BOX(page, ":-moz-page")
84
CSS_ANON_BOX(pageContent, ":-moz-pagecontent")
85
CSS_ANON_BOX(pageSequence, ":-moz-page-sequence")
86
CSS_ANON_BOX(scrolledContent, ":-moz-scrolled-content")
87
CSS_ANON_BOX(viewport, ":-moz-viewport")
88
CSS_ANON_BOX(viewportScroll, ":-moz-viewport-scroll")
89
CSS_ANON_BOX(selectScrolledContent, ":-moz-select-scrolled-content")
92
CSS_ANON_BOX(moztreerow, ":-moz-tree-row")
93
CSS_ANON_BOX(moztreecell, ":-moz-tree-cell")
94
CSS_ANON_BOX(moztreecolumn, ":-moz-tree-column")
95
CSS_ANON_BOX(moztreecelltext, ":-moz-tree-cell-text")
96
CSS_ANON_BOX(moztreetwisty, ":-moz-tree-twisty")
97
CSS_ANON_BOX(moztreeindentation, ":-moz-tree-indentation")
98
CSS_ANON_BOX(moztreeline, ":-moz-tree-line")
99
CSS_ANON_BOX(moztreeimage, ":-moz-tree-image")
100
CSS_ANON_BOX(moztreeseparator, ":-moz-tree-separator")
101
CSS_ANON_BOX(moztreedropfeedback, ":-moz-tree-drop-feedback")
102
CSS_ANON_BOX(moztreeprogressmeter, ":-moz-tree-progressmeter")
106
CSS_ANON_BOX(mozMathStretchy, ":-moz-math-stretchy")
107
CSS_ANON_BOX(mozMathAnonymous, ":-moz-math-anonymous")
108
CSS_ANON_BOX(mozMathInline, ":-moz-math-inline")