1999-07-18 04:13:35 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.0 (the "NPL") you may not use this file except in
|
|
|
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* NPL.
|
|
|
|
*
|
|
|
|
* The Initial Developer of this code under the NPL is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
|
|
|
|
* Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/******
|
|
|
|
|
|
|
|
This file contains the list of all layout nsIAtoms and their values
|
|
|
|
|
|
|
|
It is designed to be used as inline input to nsLayoutAtoms.cpp *only*
|
|
|
|
through the magic of C preprocessing.
|
|
|
|
|
|
|
|
All entires must be enclosed in the macro LAYOUT_ATOM which will have cruel
|
|
|
|
and unusual things done to it
|
|
|
|
|
|
|
|
It is recommended (but not strictly necessary) to keep all entries
|
|
|
|
in alphabetical order
|
|
|
|
|
|
|
|
The first argument to LAYOUT_ATOM is the C++ identifier of the atom
|
|
|
|
The second argument is the string value of the atom
|
|
|
|
|
|
|
|
******/
|
|
|
|
|
|
|
|
|
|
|
|
// Alphabetical list of media type atoms
|
|
|
|
LAYOUT_ATOM(all, "all") // Media atoms must be lower case
|
|
|
|
LAYOUT_ATOM(aural, "aural")
|
|
|
|
LAYOUT_ATOM(braille, "braille")
|
|
|
|
LAYOUT_ATOM(embossed, "embossed")
|
|
|
|
LAYOUT_ATOM(handheld, "handheld")
|
|
|
|
LAYOUT_ATOM(print, "print")
|
|
|
|
LAYOUT_ATOM(projection, "projection")
|
|
|
|
LAYOUT_ATOM(screen, "screen")
|
|
|
|
LAYOUT_ATOM(tty, "tty")
|
|
|
|
LAYOUT_ATOM(tv, "tv")
|
|
|
|
|
|
|
|
// Alphabetical list of standard name space prefixes
|
|
|
|
LAYOUT_ATOM(htmlNameSpace, "html")
|
|
|
|
LAYOUT_ATOM(xmlNameSpace, "xml")
|
|
|
|
LAYOUT_ATOM(xmlnsNameSpace, "xmlns")
|
|
|
|
|
|
|
|
// Alphabetical list of frame additional child list names
|
|
|
|
LAYOUT_ATOM(absoluteList, "Absolute-list")
|
|
|
|
LAYOUT_ATOM(bulletList, "Bullet-list")
|
|
|
|
LAYOUT_ATOM(colGroupList, "ColGroup-list")
|
|
|
|
LAYOUT_ATOM(fixedList, "Fixed-list")
|
|
|
|
LAYOUT_ATOM(floaterList, "Floater-list")
|
|
|
|
LAYOUT_ATOM(popupList, "Popup-list")
|
|
|
|
|
|
|
|
// Alphabetical list of pseudo tag names for non-element content
|
1999-08-08 05:05:05 +04:00
|
|
|
LAYOUT_ATOM(canvasPseudo, ":canvas")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(commentTagName, "__moz_comment")
|
1999-08-08 05:05:05 +04:00
|
|
|
LAYOUT_ATOM(dummyOptionPseudo, ":-moz-dummy-option")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(textTagName, "__moz_text")
|
|
|
|
LAYOUT_ATOM(pagePseudo, ":-moz-page")
|
1999-08-08 05:05:05 +04:00
|
|
|
LAYOUT_ATOM(pageSequencePseudo, ":-moz-page-sequence")
|
|
|
|
LAYOUT_ATOM(processingInstructionTagName, "__moz_pi")
|
|
|
|
LAYOUT_ATOM(scrolledContentPseudo, ":scrolled-content")
|
|
|
|
LAYOUT_ATOM(viewportPseudo, ":viewport")
|
|
|
|
LAYOUT_ATOM(viewportScrollPseudo, ":viewport-scroll")
|
1999-07-18 04:13:35 +04:00
|
|
|
|
|
|
|
// Alphabetical list of frame types
|
|
|
|
LAYOUT_ATOM(areaFrame, "AreaFrame")
|
|
|
|
LAYOUT_ATOM(blockFrame, "BlockFrame")
|
1999-08-31 07:09:40 +04:00
|
|
|
LAYOUT_ATOM(hrFrame, "HRFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(htmlFrameInnerFrame, "htmlFrameInnerFrame")
|
|
|
|
LAYOUT_ATOM(htmlFrameOuterFrame, "htmlFrameOuterFrame")
|
1999-08-31 07:09:40 +04:00
|
|
|
LAYOUT_ATOM(imageFrame, "ImageFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(inlineFrame, "InlineFrame")
|
|
|
|
LAYOUT_ATOM(letterFrame, "LetterFrame")
|
|
|
|
LAYOUT_ATOM(lineFrame, "LineFrame")
|
1999-09-14 01:26:05 +04:00
|
|
|
LAYOUT_ATOM(objectFrame, "ObjectFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(pageFrame, "PageFrame")
|
|
|
|
LAYOUT_ATOM(placeholderFrame, "PlaceholderFrame")
|
|
|
|
LAYOUT_ATOM(positionedInlineFrame, "PositionedInlineFrame")
|
|
|
|
LAYOUT_ATOM(rootFrame, "RootFrame")
|
|
|
|
LAYOUT_ATOM(scrollFrame, "ScrollFrame")
|
1999-10-02 04:02:54 +04:00
|
|
|
LAYOUT_ATOM(tableCellFrame, "TableCellFrame")
|
|
|
|
LAYOUT_ATOM(tableColFrame, "TableColFrame")
|
|
|
|
LAYOUT_ATOM(tableColGroupFrame, "TableColGroupFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(tableFrame, "TableFrame")
|
1999-10-02 04:02:54 +04:00
|
|
|
LAYOUT_ATOM(tableOuterFrame, "TableOuterFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(tableRowGroupFrame, "TableRowGroupFrame")
|
|
|
|
LAYOUT_ATOM(tableRowFrame, "TableRowFrame")
|
|
|
|
LAYOUT_ATOM(textFrame, "TextFrame")
|
|
|
|
LAYOUT_ATOM(viewportFrame, "ViewportFrame")
|
1999-09-01 05:10:02 +04:00
|
|
|
|
|
|
|
#ifdef DEBUG
|
|
|
|
// Alphabetical list of atoms used by debugging code
|
1999-10-02 04:02:54 +04:00
|
|
|
LAYOUT_ATOM(cellMap, "TableCellMap")
|
1999-09-01 05:10:02 +04:00
|
|
|
LAYOUT_ATOM(imageMap, "ImageMap")
|
|
|
|
LAYOUT_ATOM(lineBox, "LineBox")
|
1999-10-02 04:02:54 +04:00
|
|
|
LAYOUT_ATOM(tableStrategy, "TableLayoutStrategy")
|
1999-09-01 05:10:02 +04:00
|
|
|
LAYOUT_ATOM(textRun, "TextRun")
|
|
|
|
#endif
|