Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Variables
nsBlockFrame.h File Reference
#include "nsHTMLContainerFrame.h"
#include "nsHTMLParts.h"
#include "nsAbsoluteContainingBlock.h"
#include "nsLineBox.h"
#include "nsReflowPath.h"
#include "nsCSSPseudoElements.h"
#include "nsStyleSet.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nsBlockFrame
struct  nsBlockFrame::nsAutoOOFFrameList
 This class is useful for efficiently modifying the out of flow overflow list. More...

Defines

#define NS_BLOCK_FRAME_FLOAT_LIST_INDEX   0
 Child list name indices.
#define NS_BLOCK_FRAME_BULLET_LIST_INDEX   1
#define NS_BLOCK_FRAME_OVERFLOW_LIST_INDEX   2
#define NS_BLOCK_FRAME_OVERFLOW_OOF_LIST_INDEX   3
#define NS_BLOCK_FRAME_ABSOLUTE_LIST_INDEX   4
#define NS_BLOCK_FRAME_LAST_LIST_INDEX   NS_BLOCK_FRAME_ABSOLUTE_LIST_INDEX
#define NS_BLOCK_HAS_LINE_CURSOR   0x01000000
 Some invariants: -- The overflow out-of-flows list contains the out-of- flow frames whose placeholders are in the overflow list.
#define NS_BLOCK_HAS_OVERFLOW_LINES   0x02000000
#define NS_BLOCK_HAS_OVERFLOW_OUT_OF_FLOWS   0x04000000
#define NS_BLOCK_HAS_OVERFLOW_PLACEHOLDERS   0x08000000
#define NS_BLOCK_HAS_CLEAR_CHILDREN   0x10000000
#define nsBlockFrameSuper   nsHTMLContainerFrame
#define NS_BLOCK_FRAME_CID   { 0xa6cf90df, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}

Variables

const nsIID kBlockFrameCID

Define Documentation

Definition at line 63 of file nsBlockFrame.h.

Definition at line 60 of file nsBlockFrame.h.

#define NS_BLOCK_FRAME_CID   { 0xa6cf90df, 0x15b3, 0x11d2,{0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32}}

Definition at line 105 of file nsBlockFrame.h.

Child list name indices.

See also:
#GetAdditionalChildListName()

Definition at line 59 of file nsBlockFrame.h.

Definition at line 64 of file nsBlockFrame.h.

Definition at line 61 of file nsBlockFrame.h.

Definition at line 62 of file nsBlockFrame.h.

Definition at line 101 of file nsBlockFrame.h.

#define NS_BLOCK_HAS_LINE_CURSOR   0x01000000

Some invariants: -- The overflow out-of-flows list contains the out-of- flow frames whose placeholders are in the overflow list.

-- A given piece of content has at most one placeholder frame in a block's normal child list. -- A given piece of content can have an unlimited number of placeholder frames in the overflow-lines list. -- A line containing a continuation placeholder contains only continuation placeholders. -- While a block is being reflowed, its overflowPlaceholdersList frame property points to an nsFrameList in its nsBlockReflowState. This list contains placeholders for floats whose prev-in-flow is in the block's regular line list. The list is always empty/non-existent after the block has been reflowed. -- In all these frame lists, if there are two frames for the same content appearing in the list, then the frames appear with the prev-in-flow before the next-in-flow. -- While reflowing a block, its overflow line list will usually be empty but in some cases will have lines (while we reflow the block at its shrink-wrap width). In this case any new overflowing content must be prepended to the overflow lines.

Definition at line 93 of file nsBlockFrame.h.

Definition at line 94 of file nsBlockFrame.h.

Definition at line 95 of file nsBlockFrame.h.

Definition at line 96 of file nsBlockFrame.h.

Definition at line 103 of file nsBlockFrame.h.


Variable Documentation

Definition at line 262 of file nsBlockFrame.cpp.