layout/style/nsCSSAnonBoxList.h

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     2 /* This Source Code Form is subject to the terms of the Mozilla Public
     3  * License, v. 2.0. If a copy of the MPL was not distributed with this
     4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     6 /* atom list for CSS anonymous boxes */
     8 /*
     9  * This file contains the list of nsIAtoms and their values for CSS
    10  * pseudo-element-ish things used internally for anonymous boxes.  It is
    11  * designed to be used as inline input to nsCSSAnonBoxes.cpp *only*
    12  * through the magic of C preprocessing.  All entries must be enclosed
    13  * in the macro CSS_ANON_BOX which will have cruel and unusual things
    14  * done to it.  The entries should be kept in some sort of logical
    15  * order.  The first argument to CSS_ANON_BOX is the C++ identifier of
    16  * the atom.  The second argument is the string value of the atom.
    17  */
    19 // OUTPUT_CLASS=nsCSSAnonBoxes
    20 // MACRO_NAME=CSS_ANON_BOX
    22 CSS_ANON_BOX(mozNonElement, ":-moz-non-element")
    24 CSS_ANON_BOX(mozAnonymousBlock, ":-moz-anonymous-block")
    25 CSS_ANON_BOX(mozAnonymousPositionedBlock, ":-moz-anonymous-positioned-block")
    26 CSS_ANON_BOX(mozMathMLAnonymousBlock, ":-moz-mathml-anonymous-block")
    27 CSS_ANON_BOX(mozXULAnonymousBlock, ":-moz-xul-anonymous-block")
    29 // Framesets
    30 CSS_ANON_BOX(horizontalFramesetBorder, ":-moz-hframeset-border")
    31 CSS_ANON_BOX(verticalFramesetBorder, ":-moz-vframeset-border")
    33 CSS_ANON_BOX(mozLineFrame, ":-moz-line-frame")
    35 CSS_ANON_BOX(buttonContent, ":-moz-button-content")
    36 CSS_ANON_BOX(mozButtonLabel, ":-moz-buttonlabel")
    37 CSS_ANON_BOX(cellContent, ":-moz-cell-content")
    38 CSS_ANON_BOX(dropDownList, ":-moz-dropdown-list")
    39 CSS_ANON_BOX(fieldsetContent, ":-moz-fieldset-content")
    40 CSS_ANON_BOX(framesetBlank, ":-moz-frameset-blank")
    41 CSS_ANON_BOX(mozDisplayComboboxControlFrame, ":-moz-display-comboboxcontrol-frame")
    42 CSS_ANON_BOX(htmlCanvasContent, ":-moz-html-canvas-content")
    44 CSS_ANON_BOX(inlineTable, ":-moz-inline-table")
    45 CSS_ANON_BOX(table, ":-moz-table")
    46 CSS_ANON_BOX(tableCell, ":-moz-table-cell")
    47 CSS_ANON_BOX(tableColGroup, ":-moz-table-column-group")
    48 CSS_ANON_BOX(tableCol, ":-moz-table-column")
    49 CSS_ANON_BOX(tableOuter, ":-moz-table-outer")
    50 CSS_ANON_BOX(tableRowGroup, ":-moz-table-row-group")
    51 CSS_ANON_BOX(tableRow, ":-moz-table-row")
    53 CSS_ANON_BOX(canvas, ":-moz-canvas")
    54 CSS_ANON_BOX(pageBreak, ":-moz-pagebreak")
    55 CSS_ANON_BOX(page, ":-moz-page")
    56 CSS_ANON_BOX(pageContent, ":-moz-pagecontent")
    57 CSS_ANON_BOX(pageSequence, ":-moz-page-sequence")
    58 CSS_ANON_BOX(scrolledContent, ":-moz-scrolled-content")
    59 CSS_ANON_BOX(scrolledCanvas, ":-moz-scrolled-canvas")
    60 CSS_ANON_BOX(scrolledPageSequence, ":-moz-scrolled-page-sequence")
    61 CSS_ANON_BOX(columnContent, ":-moz-column-content")
    62 CSS_ANON_BOX(viewport, ":-moz-viewport")
    63 CSS_ANON_BOX(viewportScroll, ":-moz-viewport-scroll")
    65 // Inside a flex container, a contiguous run of non-replaced inline children
    66 // gets wrapped in an anonymous block, which is then treated as a flex item.
    67 CSS_ANON_BOX(anonymousFlexItem, ":-moz-anonymous-flex-item")
    69 #ifdef MOZ_XUL
    70 CSS_ANON_BOX(moztreecolumn, ":-moz-tree-column")
    71 CSS_ANON_BOX(moztreerow, ":-moz-tree-row")
    72 CSS_ANON_BOX(moztreeseparator, ":-moz-tree-separator")
    73 CSS_ANON_BOX(moztreecell, ":-moz-tree-cell")
    74 CSS_ANON_BOX(moztreeindentation, ":-moz-tree-indentation")
    75 CSS_ANON_BOX(moztreeline, ":-moz-tree-line")
    76 CSS_ANON_BOX(moztreetwisty, ":-moz-tree-twisty")
    77 CSS_ANON_BOX(moztreeimage, ":-moz-tree-image")
    78 CSS_ANON_BOX(moztreecelltext, ":-moz-tree-cell-text")
    79 CSS_ANON_BOX(moztreecheckbox, ":-moz-tree-checkbox")
    80 CSS_ANON_BOX(moztreeprogressmeter, ":-moz-tree-progressmeter")
    81 CSS_ANON_BOX(moztreedropfeedback, ":-moz-tree-drop-feedback")
    82 #endif
    84 CSS_ANON_BOX(mozSVGMarkerAnonChild, ":-moz-svg-marker-anon-child")
    85 CSS_ANON_BOX(mozSVGOuterSVGAnonChild, ":-moz-svg-outer-svg-anon-child")
    86 CSS_ANON_BOX(mozSVGForeignContent, ":-moz-svg-foreign-content")
    87 CSS_ANON_BOX(mozSVGText, ":-moz-svg-text")

mercurial