michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* atom list for CSS anonymous boxes */ michael@0: michael@0: /* michael@0: * This file contains the list of nsIAtoms and their values for CSS michael@0: * pseudo-element-ish things used internally for anonymous boxes. It is michael@0: * designed to be used as inline input to nsCSSAnonBoxes.cpp *only* michael@0: * through the magic of C preprocessing. All entries must be enclosed michael@0: * in the macro CSS_ANON_BOX which will have cruel and unusual things michael@0: * done to it. The entries should be kept in some sort of logical michael@0: * order. The first argument to CSS_ANON_BOX is the C++ identifier of michael@0: * the atom. The second argument is the string value of the atom. michael@0: */ michael@0: michael@0: // OUTPUT_CLASS=nsCSSAnonBoxes michael@0: // MACRO_NAME=CSS_ANON_BOX michael@0: michael@0: CSS_ANON_BOX(mozNonElement, ":-moz-non-element") michael@0: michael@0: CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block") michael@0: CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block") michael@0: CSS_ANON_BOX(mozMathMLAnonymousBlock, ":-moz-mathml-anonymous-block") michael@0: CSS_ANON_BOX(mozXULAnonymousBlock, ":-moz-xul-anonymous-block") michael@0: michael@0: // Framesets michael@0: CSS_ANON_BOX(horizontalFramesetBorder, ":-moz-hframeset-border") michael@0: CSS_ANON_BOX(verticalFramesetBorder, ":-moz-vframeset-border") michael@0: michael@0: CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame") michael@0: michael@0: CSS_ANON_BOX(buttonContent, ":-moz-button-content") michael@0: CSS_ANON_BOX(mozButtonLabel, ":-moz-buttonlabel") michael@0: CSS_ANON_BOX(cellContent, ":-moz-cell-content") michael@0: CSS_ANON_BOX(dropDownList, ":-moz-dropdown-list") michael@0: CSS_ANON_BOX(fieldsetContent, ":-moz-fieldset-content") michael@0: CSS_ANON_BOX(framesetBlank, ":-moz-frameset-blank") michael@0: CSS_ANON_BOX(mozDisplayComboboxControlFrame, ":-moz-display-comboboxcontrol-frame") michael@0: CSS_ANON_BOX(htmlCanvasContent, ":-moz-html-canvas-content") michael@0: michael@0: CSS_ANON_BOX(inlineTable, ":-moz-inline-table") michael@0: CSS_ANON_BOX(table, ":-moz-table") michael@0: CSS_ANON_BOX(tableCell, ":-moz-table-cell") michael@0: CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group") michael@0: CSS_ANON_BOX(tableCol, ":-moz-table-column") michael@0: CSS_ANON_BOX(tableOuter, ":-moz-table-outer") michael@0: CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group") michael@0: CSS_ANON_BOX(tableRow, ":-moz-table-row") michael@0: michael@0: CSS_ANON_BOX(canvas, ":-moz-canvas") michael@0: CSS_ANON_BOX(pageBreak, ":-moz-pagebreak") michael@0: CSS_ANON_BOX(page, ":-moz-page") michael@0: CSS_ANON_BOX(pageContent, ":-moz-pagecontent") michael@0: CSS_ANON_BOX(pageSequence, ":-moz-page-sequence") michael@0: CSS_ANON_BOX(scrolledContent, ":-moz-scrolled-content") michael@0: CSS_ANON_BOX(scrolledCanvas, ":-moz-scrolled-canvas") michael@0: CSS_ANON_BOX(scrolledPageSequence, ":-moz-scrolled-page-sequence") michael@0: CSS_ANON_BOX(columnContent, ":-moz-column-content") michael@0: CSS_ANON_BOX(viewport, ":-moz-viewport") michael@0: CSS_ANON_BOX(viewportScroll, ":-moz-viewport-scroll") michael@0: michael@0: // Inside a flex container, a contiguous run of non-replaced inline children michael@0: // gets wrapped in an anonymous block, which is then treated as a flex item. michael@0: CSS_ANON_BOX(anonymousFlexItem, ":-moz-anonymous-flex-item") michael@0: michael@0: #ifdef MOZ_XUL michael@0: CSS_ANON_BOX(moztreecolumn, ":-moz-tree-column") michael@0: CSS_ANON_BOX(moztreerow, ":-moz-tree-row") michael@0: CSS_ANON_BOX(moztreeseparator, ":-moz-tree-separator") michael@0: CSS_ANON_BOX(moztreecell, ":-moz-tree-cell") michael@0: CSS_ANON_BOX(moztreeindentation, ":-moz-tree-indentation") michael@0: CSS_ANON_BOX(moztreeline, ":-moz-tree-line") michael@0: CSS_ANON_BOX(moztreetwisty, ":-moz-tree-twisty") michael@0: CSS_ANON_BOX(moztreeimage, ":-moz-tree-image") michael@0: CSS_ANON_BOX(moztreecelltext, ":-moz-tree-cell-text") michael@0: CSS_ANON_BOX(moztreecheckbox, ":-moz-tree-checkbox") michael@0: CSS_ANON_BOX(moztreeprogressmeter, ":-moz-tree-progressmeter") michael@0: CSS_ANON_BOX(moztreedropfeedback, ":-moz-tree-drop-feedback") michael@0: #endif michael@0: michael@0: CSS_ANON_BOX(mozSVGMarkerAnonChild, ":-moz-svg-marker-anon-child") michael@0: CSS_ANON_BOX(mozSVGOuterSVGAnonChild, ":-moz-svg-outer-svg-anon-child") michael@0: CSS_ANON_BOX(mozSVGForeignContent, ":-moz-svg-foreign-content") michael@0: CSS_ANON_BOX(mozSVGText, ":-moz-svg-text")