1999-07-18 04:13:35 +04:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
1999-11-06 06:40:37 +03:00
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
1999-07-18 04:13:35 +04:00
|
|
|
*
|
1999-11-06 06:40:37 +03:00
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
1999-07-18 04:13:35 +04:00
|
|
|
*
|
1999-11-06 06:40:37 +03:00
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
1999-07-18 04:13:35 +04:00
|
|
|
* Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
* Copyright (C) 1999 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
1999-07-18 04:13:35 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
/******
|
|
|
|
|
|
|
|
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")
|
2000-01-28 05:19:45 +03:00
|
|
|
LAYOUT_ATOM(captionList, "Caption-list")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(colGroupList, "ColGroup-list")
|
1999-12-17 06:28:50 +03:00
|
|
|
LAYOUT_ATOM(editorDisplayList, "EditorDisplay-List")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(fixedList, "Fixed-list")
|
|
|
|
LAYOUT_ATOM(floaterList, "Floater-list")
|
2000-01-22 04:16:50 +03:00
|
|
|
LAYOUT_ATOM(overflowList, "Overflow-list")
|
1999-07-18 04:13:35 +04:00
|
|
|
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-12-07 02:05:52 +03:00
|
|
|
LAYOUT_ATOM(optionSelectedPseudo, "-moz-option-selected")
|
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")
|
1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543
-r hyatt, troy, rod
2000-02-10 01:02:40 +03:00
|
|
|
LAYOUT_ATOM(selectScrolledContentPseudo, ":-moz-select-scrolled-content")
|
1999-07-18 04:13:35 +04:00
|
|
|
|
|
|
|
// Alphabetical list of frame types
|
|
|
|
LAYOUT_ATOM(areaFrame, "AreaFrame")
|
|
|
|
LAYOUT_ATOM(blockFrame, "BlockFrame")
|
2000-02-15 07:26:44 +03:00
|
|
|
LAYOUT_ATOM(brFrame, "BRFrame")
|
1999-10-15 03:08:31 +04:00
|
|
|
LAYOUT_ATOM(bulletFrame, "BulletFrame")
|
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")
|
2000-04-19 03:05:15 +04:00
|
|
|
LAYOUT_ATOM(canvasFrame, "CanvasFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(rootFrame, "RootFrame")
|
|
|
|
LAYOUT_ATOM(scrollFrame, "ScrollFrame")
|
2000-01-28 05:19:45 +03:00
|
|
|
LAYOUT_ATOM(tableCaptionFrame, "TableCaptionFrame")
|
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")
|
2000-06-09 09:15:58 +04:00
|
|
|
LAYOUT_ATOM(textInputFrame,"TextInputFrame")
|
1999-07-18 04:13:35 +04:00
|
|
|
LAYOUT_ATOM(textFrame, "TextFrame")
|
|
|
|
LAYOUT_ATOM(viewportFrame, "ViewportFrame")
|
1999-09-01 05:10:02 +04:00
|
|
|
|
1999-10-21 09:11:43 +04:00
|
|
|
// Alphabetical list of frame property names
|
1999-12-06 18:49:53 +03:00
|
|
|
LAYOUT_ATOM(collapseOffsetProperty, "CollapseOffsetProperty") // nsPoint*
|
|
|
|
LAYOUT_ATOM(inlineFrameAnnotation, "InlineFrameAnnotation") // BOOL
|
|
|
|
LAYOUT_ATOM(maxElementSizeProperty, "MaxElementSizeProperty") // nsSize*
|
|
|
|
LAYOUT_ATOM(overflowAreaProperty, "OverflowArea") // nsRect*
|
|
|
|
LAYOUT_ATOM(overflowProperty, "OverflowProperty") // list of nsIFrame*
|
|
|
|
LAYOUT_ATOM(overflowLinesProperty, "OverflowLinesProperty") // list of nsLineBox*
|
2000-03-23 02:19:10 +03:00
|
|
|
LAYOUT_ATOM(spaceManagerProperty, "SpaceManagerProperty") // the space manager for a block
|
1999-12-06 18:49:53 +03:00
|
|
|
LAYOUT_ATOM(viewProperty, "ViewProperty") // nsView*
|
1999-10-21 09:11:43 +04:00
|
|
|
|
1999-11-25 03:05:21 +03:00
|
|
|
// Alphabetical list of event handler names
|
|
|
|
LAYOUT_ATOM(onabort, "onabort")
|
|
|
|
LAYOUT_ATOM(onblur, "onblur")
|
|
|
|
LAYOUT_ATOM(onbroadcast, "onbroadcast")
|
|
|
|
LAYOUT_ATOM(onchange, "onchange")
|
|
|
|
LAYOUT_ATOM(onclick, "onclick")
|
1999-12-02 01:35:33 +03:00
|
|
|
LAYOUT_ATOM(onclose, "onclose")
|
1999-11-25 03:05:21 +03:00
|
|
|
LAYOUT_ATOM(oncommand, "oncommand")
|
|
|
|
LAYOUT_ATOM(oncommandupdate, "oncommandupdate")
|
|
|
|
LAYOUT_ATOM(oncreate, "oncreate")
|
|
|
|
LAYOUT_ATOM(ondblclick, "ondblclick")
|
|
|
|
LAYOUT_ATOM(ondestroy, "ondestroy")
|
|
|
|
LAYOUT_ATOM(ondragdrop, "ondragdrop")
|
|
|
|
LAYOUT_ATOM(ondragenter, "ondragenter")
|
|
|
|
LAYOUT_ATOM(ondragexit, "ondragexit")
|
|
|
|
LAYOUT_ATOM(ondraggesture, "ondraggesture")
|
|
|
|
LAYOUT_ATOM(ondragover, "ondragover")
|
|
|
|
LAYOUT_ATOM(onerror, "onerror")
|
|
|
|
LAYOUT_ATOM(onfocus, "onfocus")
|
|
|
|
LAYOUT_ATOM(oninput, "oninput")
|
|
|
|
LAYOUT_ATOM(onkeydown, "onkeydown")
|
|
|
|
LAYOUT_ATOM(onkeypress, "onkeypress")
|
|
|
|
LAYOUT_ATOM(onkeyup, "onkeyup")
|
|
|
|
LAYOUT_ATOM(onload, "onload")
|
|
|
|
LAYOUT_ATOM(onmousedown, "onmousedown")
|
|
|
|
LAYOUT_ATOM(onmousemove, "onmousemove")
|
|
|
|
LAYOUT_ATOM(onmouseover, "onmouseover")
|
|
|
|
LAYOUT_ATOM(onmouseout, "onmouseout")
|
|
|
|
LAYOUT_ATOM(onmouseup, "onmouseup")
|
|
|
|
LAYOUT_ATOM(onpaint, "onpaint")
|
|
|
|
LAYOUT_ATOM(onreset, "onreset")
|
2000-05-17 09:27:22 +04:00
|
|
|
LAYOUT_ATOM(onresize, "onresize")
|
2000-05-17 10:53:58 +04:00
|
|
|
LAYOUT_ATOM(onscroll, "onscroll")
|
1999-11-25 03:05:21 +03:00
|
|
|
LAYOUT_ATOM(onselect, "onselect")
|
|
|
|
LAYOUT_ATOM(onsubmit, "onsubmit")
|
|
|
|
LAYOUT_ATOM(onunload, "onunload")
|
|
|
|
|
2000-06-23 09:15:04 +04:00
|
|
|
// scrolling
|
|
|
|
LAYOUT_ATOM(onoverflow, "onoverflow")
|
|
|
|
LAYOUT_ATOM(onunderflow, "onunderflow")
|
2000-06-28 04:00:18 +04:00
|
|
|
LAYOUT_ATOM(onoverflowchanged, "onoverflowchanged")
|
2000-06-23 09:15:04 +04:00
|
|
|
|
2000-06-28 08:17:26 +04:00
|
|
|
// other
|
|
|
|
LAYOUT_ATOM(wildcard, "*")
|
|
|
|
|
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")
|
1999-10-15 03:08:31 +04:00
|
|
|
LAYOUT_ATOM(lineBoxBig, "LineBox:inline,big")
|
|
|
|
LAYOUT_ATOM(lineBoxBlockBig, "LineBox:block,big")
|
|
|
|
LAYOUT_ATOM(lineBoxBlockSmall, "LineBox:block,small")
|
1999-10-02 06:51:03 +04:00
|
|
|
LAYOUT_ATOM(lineBoxFloaters, "LineBoxFloaters")
|
1999-10-15 03:08:31 +04:00
|
|
|
LAYOUT_ATOM(lineBoxSmall, "LineBox:inline,small")
|
1999-10-02 04:52:01 +04:00
|
|
|
LAYOUT_ATOM(spaceManager, "SpaceManager")
|
1999-10-08 09:12:55 +04:00
|
|
|
LAYOUT_ATOM(tableColCache, "TableColumnCache")
|
1999-10-02 04:02:54 +04:00
|
|
|
LAYOUT_ATOM(tableStrategy, "TableLayoutStrategy")
|
1999-09-01 05:10:02 +04:00
|
|
|
LAYOUT_ATOM(textRun, "TextRun")
|
1999-10-07 04:31:41 +04:00
|
|
|
LAYOUT_ATOM(xml_document_entities, "XMLDocumentEntities")
|
|
|
|
LAYOUT_ATOM(xml_document_notations, "XMLDocumentNotations")
|
1999-09-01 05:10:02 +04:00
|
|
|
#endif
|