Back to index

lightning-sunbird  0.9+nobinonly
nsCSSAnonBoxList.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is atom lists for CSS pseudos.
00016  *
00017  * The Initial Developer of the Original Code is 
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *   L. David Baron <dbaron@dbaron.org>
00024  *
00025  * Alternatively, the contents of this file may be used under the terms of
00026  * either the GNU General Public License Version 2 or later (the "GPL"), or
00027  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00028  * in which case the provisions of the GPL or the LGPL are applicable instead
00029  * of those above. If you wish to allow use of your version of this file only
00030  * under the terms of either the GPL or the LGPL, and not to allow others to
00031  * use your version of this file under the terms of the MPL, indicate your
00032  * decision by deleting the provisions above and replace them with the notice
00033  * and other provisions required by the GPL or the LGPL. If you do not delete
00034  * the provisions above, a recipient may use your version of this file under
00035  * the terms of any one of the MPL, the GPL or the LGPL.
00036  *
00037  * ***** END LICENSE BLOCK ***** */
00038 
00039 /*
00040  * This file contains the list of nsIAtoms and their values for CSS
00041  * pseudo-element-ish things used internally for anonymous boxes.  It is
00042  * designed to be used as inline input to nsCSSAnonBoxes.cpp *only*
00043  * through the magic of C preprocessing.  All entries must be enclosed
00044  * in the macro CSS_ANON_BOX which will have cruel and unusual things
00045  * done to it.  The entries should be kept in some sort of logical
00046  * order.  The first argument to CSS_ANON_BOX is the C++ identifier of
00047  * the atom.  The second argument is the string value of the atom.
00048  */
00049 
00050 // OUTPUT_CLASS=nsCSSAnonBoxes
00051 // MACRO_NAME=CSS_ANON_BOX
00052 
00053 CSS_ANON_BOX(mozNonElement, ":-moz-non-element")
00054 
00055 CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block")
00056 CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block")
00057 CSS_ANON_BOX(mozMathMLAnonymousBlock, ":-moz-mathml-anonymous-block")
00058 
00059 CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame")
00060 
00061 CSS_ANON_BOX(buttonContent, ":-moz-button-content")
00062 CSS_ANON_BOX(mozButtonLabel, ":-moz-buttonlabel")
00063 CSS_ANON_BOX(cellContent, ":-moz-cell-content")
00064 CSS_ANON_BOX(dropDownList, ":-moz-dropdown-list")
00065 CSS_ANON_BOX(fieldsetContent, ":-moz-fieldset-content")
00066 CSS_ANON_BOX(framesetBlank, ":-moz-frameset-blank")
00067 CSS_ANON_BOX(radio, ":-moz-radio")
00068 CSS_ANON_BOX(check, ":-moz-checkbox")
00069 CSS_ANON_BOX(mozDisplayComboboxControlFrame, ":-moz-display-comboboxcontrol-frame")
00070 CSS_ANON_BOX(dummyOption, ":-moz-dummy-option")
00071 
00072 CSS_ANON_BOX(table, ":-moz-table")
00073 CSS_ANON_BOX(tableCell, ":-moz-table-cell")
00074 CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group")
00075 CSS_ANON_BOX(tableCol, ":-moz-table-column")
00076 CSS_ANON_BOX(tableOuter, ":-moz-table-outer")
00077 CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group")
00078 CSS_ANON_BOX(tableRow, ":-moz-table-row")
00079 
00080 CSS_ANON_BOX(canvas, ":-moz-canvas")
00081 CSS_ANON_BOX(pageBreak, ":-moz-pagebreak")
00082 CSS_ANON_BOX(page, ":-moz-page")
00083 CSS_ANON_BOX(pageContent, ":-moz-pagecontent")
00084 CSS_ANON_BOX(pageSequence, ":-moz-page-sequence")
00085 CSS_ANON_BOX(scrolledContent, ":-moz-scrolled-content")
00086 CSS_ANON_BOX(scrolledCanvas, ":-moz-scrolled-canvas")
00087 CSS_ANON_BOX(scrolledPageSequence, ":-moz-scrolled-page-sequence")
00088 CSS_ANON_BOX(columnContent, ":-moz-column-content")
00089 CSS_ANON_BOX(viewport, ":-moz-viewport")
00090 CSS_ANON_BOX(viewportScroll, ":-moz-viewport-scroll")
00091 
00092 #ifdef MOZ_XUL
00093 CSS_ANON_BOX(moztreecolumn, ":-moz-tree-column")
00094 CSS_ANON_BOX(moztreerow, ":-moz-tree-row")
00095 CSS_ANON_BOX(moztreeseparator, ":-moz-tree-separator")
00096 CSS_ANON_BOX(moztreecell, ":-moz-tree-cell")
00097 CSS_ANON_BOX(moztreeindentation, ":-moz-tree-indentation")
00098 CSS_ANON_BOX(moztreeline, ":-moz-tree-line")
00099 CSS_ANON_BOX(moztreetwisty, ":-moz-tree-twisty")
00100 CSS_ANON_BOX(moztreeimage, ":-moz-tree-image")
00101 CSS_ANON_BOX(moztreecelltext, ":-moz-tree-cell-text")
00102 CSS_ANON_BOX(moztreecheckbox, ":-moz-tree-checkbox")
00103 CSS_ANON_BOX(moztreeprogressmeter, ":-moz-tree-progressmeter")
00104 CSS_ANON_BOX(moztreedropfeedback, ":-moz-tree-drop-feedback")
00105 #endif
00106 
00107 #ifdef MOZ_MATHML
00108 CSS_ANON_BOX(mozMathStretchy, ":-moz-math-stretchy")
00109 CSS_ANON_BOX(mozMathAnonymous, ":-moz-math-anonymous")
00110 CSS_ANON_BOX(mozMathInline, ":-moz-math-inline")
00111 #endif