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