diff --git a/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp b/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp index 51bf2179849..56607493344 100644 --- a/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp +++ b/mozilla/layout/generic/nsAbsoluteContainingBlock.cpp @@ -34,6 +34,12 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* + * code for managing absolutely positioned children of a rendering + * object that is a containing block for them + */ + #include "nsCOMPtr.h" #include "nsAbsoluteContainingBlock.h" #include "nsContainerFrame.h" diff --git a/mozilla/layout/generic/nsAbsoluteContainingBlock.h b/mozilla/layout/generic/nsAbsoluteContainingBlock.h index 4456601d1f6..47d6d721545 100644 --- a/mozilla/layout/generic/nsAbsoluteContainingBlock.h +++ b/mozilla/layout/generic/nsAbsoluteContainingBlock.h @@ -34,6 +34,12 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* + * code for managing absolutely positioned children of a rendering + * object that is a containing block for them + */ + #ifndef nsAbsoluteContainingBlock_h___ #define nsAbsoluteContainingBlock_h___ diff --git a/mozilla/layout/generic/nsAreaFrame.cpp b/mozilla/layout/generic/nsAreaFrame.cpp index 302f7f3493c..4bf18df860d 100644 --- a/mozilla/layout/generic/nsAreaFrame.cpp +++ b/mozilla/layout/generic/nsAreaFrame.cpp @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* derived class of nsBlockFrame; distinction barely relevant anymore */ + #include "nsAreaFrame.h" #include "nsBlockBandData.h" #include "nsStyleContext.h" diff --git a/mozilla/layout/generic/nsAreaFrame.h b/mozilla/layout/generic/nsAreaFrame.h index 2d46f253ac8..40b0020fbbf 100644 --- a/mozilla/layout/generic/nsAreaFrame.h +++ b/mozilla/layout/generic/nsAreaFrame.h @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* derived class of nsBlockFrame; distinction barely relevant anymore */ + #ifndef nsAreaFrame_h___ #define nsAreaFrame_h___ diff --git a/mozilla/layout/generic/nsBRFrame.cpp b/mozilla/layout/generic/nsBRFrame.cpp index 1a67f3b3278..882baa4eed5 100644 --- a/mozilla/layout/generic/nsBRFrame.cpp +++ b/mozilla/layout/generic/nsBRFrame.cpp @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* rendering object for HTML
elements */ + #include "nsCOMPtr.h" #include "nsFrame.h" #include "nsHTMLParts.h" diff --git a/mozilla/layout/generic/nsBlockBandData.cpp b/mozilla/layout/generic/nsBlockBandData.cpp index 5bde4b873bd..81270b7f155 100644 --- a/mozilla/layout/generic/nsBlockBandData.cpp +++ b/mozilla/layout/generic/nsBlockBandData.cpp @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* code for management of floats that implements space manager interfaces */ + #include "nsCOMPtr.h" #include "nsBlockBandData.h" #include "nsIFrame.h" diff --git a/mozilla/layout/generic/nsBlockBandData.h b/mozilla/layout/generic/nsBlockBandData.h index 8b571c9aec8..5303b735ad2 100644 --- a/mozilla/layout/generic/nsBlockBandData.h +++ b/mozilla/layout/generic/nsBlockBandData.h @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* code for management of floats that implements space manager interfaces */ + #ifndef nsBlockBandData_h___ #define nsBlockBandData_h___ diff --git a/mozilla/layout/generic/nsBlockFrame.cpp b/mozilla/layout/generic/nsBlockFrame.cpp index 0a233cfe713..2b53b0a8f52 100644 --- a/mozilla/layout/generic/nsBlockFrame.cpp +++ b/mozilla/layout/generic/nsBlockFrame.cpp @@ -40,6 +40,12 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* + * rendering object for CSS display:block and display:list-item objects, + * also used inside table cells + */ + #include "nsCOMPtr.h" #include "nsBlockFrame.h" #include "nsBlockReflowContext.h" diff --git a/mozilla/layout/generic/nsBlockFrame.h b/mozilla/layout/generic/nsBlockFrame.h index db488fd8d09..3947dcc9e68 100644 --- a/mozilla/layout/generic/nsBlockFrame.h +++ b/mozilla/layout/generic/nsBlockFrame.h @@ -35,6 +35,12 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* + * rendering object for CSS display:block and display:list-item objects, + * also used inside table cells + */ + #ifndef nsBlockFrame_h___ #define nsBlockFrame_h___ diff --git a/mozilla/layout/generic/nsBlockReflowContext.cpp b/mozilla/layout/generic/nsBlockReflowContext.cpp index f6a3c48bd63..0a384c303a9 100644 --- a/mozilla/layout/generic/nsBlockReflowContext.cpp +++ b/mozilla/layout/generic/nsBlockReflowContext.cpp @@ -36,6 +36,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* class that a parent frame uses to reflow a block frame */ + #include "nsBlockReflowContext.h" #include "nsLineLayout.h" #include "nsSpaceManager.h" diff --git a/mozilla/layout/generic/nsBlockReflowContext.h b/mozilla/layout/generic/nsBlockReflowContext.h index 05d9d6e946f..edd528b4619 100644 --- a/mozilla/layout/generic/nsBlockReflowContext.h +++ b/mozilla/layout/generic/nsBlockReflowContext.h @@ -35,6 +35,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* class that a parent frame uses to reflow a block frame */ + #ifndef nsBlockReflowContext_h___ #define nsBlockReflowContext_h___ diff --git a/mozilla/layout/generic/nsBlockReflowState.cpp b/mozilla/layout/generic/nsBlockReflowState.cpp index c0a35bf6472..fdfbabecf78 100644 --- a/mozilla/layout/generic/nsBlockReflowState.cpp +++ b/mozilla/layout/generic/nsBlockReflowState.cpp @@ -39,6 +39,8 @@ * * ***** END LICENSE BLOCK ***** */ +/* state used in reflow of block frames */ + #include "nsBlockReflowContext.h" #include "nsBlockReflowState.h" #include "nsBlockFrame.h" diff --git a/mozilla/layout/generic/nsBlockReflowState.h b/mozilla/layout/generic/nsBlockReflowState.h index 7c793be371b..5353b622848 100644 --- a/mozilla/layout/generic/nsBlockReflowState.h +++ b/mozilla/layout/generic/nsBlockReflowState.h @@ -38,6 +38,8 @@ * * ***** END LICENSE BLOCK ***** */ +/* state used in reflow of block frames */ + #ifndef nsBlockReflowState_h__ #define nsBlockReflowState_h__ diff --git a/mozilla/layout/generic/nsBulletFrame.cpp b/mozilla/layout/generic/nsBulletFrame.cpp index fcf6f32e60c..4a835cfc438 100644 --- a/mozilla/layout/generic/nsBulletFrame.cpp +++ b/mozilla/layout/generic/nsBulletFrame.cpp @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* rendering object for list-item bullets */ + #include "nsCOMPtr.h" #include "nsBulletFrame.h" #include "nsHTMLAtoms.h" diff --git a/mozilla/layout/generic/nsBulletFrame.h b/mozilla/layout/generic/nsBulletFrame.h index e73d4e03c3d..93b6c58626e 100644 --- a/mozilla/layout/generic/nsBulletFrame.h +++ b/mozilla/layout/generic/nsBulletFrame.h @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* rendering object for list-item bullets */ + #ifndef nsBulletFrame_h___ #define nsBulletFrame_h___ diff --git a/mozilla/layout/generic/nsColumnSetFrame.cpp b/mozilla/layout/generic/nsColumnSetFrame.cpp index 5e075a0a966..791c00f6915 100644 --- a/mozilla/layout/generic/nsColumnSetFrame.cpp +++ b/mozilla/layout/generic/nsColumnSetFrame.cpp @@ -36,6 +36,8 @@ * * ***** END LICENSE BLOCK ***** */ +/* rendering object for css3 multi-column layout */ + #include "nsHTMLContainerFrame.h" #include "nsIContent.h" #include "nsIFrame.h" diff --git a/mozilla/layout/generic/nsContainerFrame.cpp b/mozilla/layout/generic/nsContainerFrame.cpp index bdc7bf0a9cc..5a0a8e5b288 100644 --- a/mozilla/layout/generic/nsContainerFrame.cpp +++ b/mozilla/layout/generic/nsContainerFrame.cpp @@ -35,6 +35,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* base class #1 for rendering objects that have child lists */ + #include "nsContainerFrame.h" #include "nsIContent.h" #include "nsIDocument.h" diff --git a/mozilla/layout/generic/nsContainerFrame.h b/mozilla/layout/generic/nsContainerFrame.h index 63c91b13db7..ccb9eef313b 100644 --- a/mozilla/layout/generic/nsContainerFrame.h +++ b/mozilla/layout/generic/nsContainerFrame.h @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* base class #1 for rendering objects that have child lists */ + #ifndef nsContainerFrame_h___ #define nsContainerFrame_h___ diff --git a/mozilla/layout/generic/nsFirstLetterFrame.cpp b/mozilla/layout/generic/nsFirstLetterFrame.cpp index 46d21622c21..7f25a55d47d 100644 --- a/mozilla/layout/generic/nsFirstLetterFrame.cpp +++ b/mozilla/layout/generic/nsFirstLetterFrame.cpp @@ -34,6 +34,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* rendering object for CSS :first-letter pseudo-element */ + #include "nsCOMPtr.h" #include "nsHTMLContainerFrame.h" #include "nsPresContext.h" diff --git a/mozilla/layout/generic/nsFrame.cpp b/mozilla/layout/generic/nsFrame.cpp index eb56afa6464..74b087cb599 100644 --- a/mozilla/layout/generic/nsFrame.cpp +++ b/mozilla/layout/generic/nsFrame.cpp @@ -38,6 +38,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* base class of all rendering objects */ + #include "nsCOMPtr.h" #include "nsFrame.h" #include "nsFrameList.h" diff --git a/mozilla/layout/generic/nsFrame.h b/mozilla/layout/generic/nsFrame.h index 2c0e9600dd3..06906369716 100644 --- a/mozilla/layout/generic/nsFrame.h +++ b/mozilla/layout/generic/nsFrame.h @@ -35,6 +35,9 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* base class of all rendering objects */ + #ifndef nsFrame_h___ #define nsFrame_h___ diff --git a/mozilla/layout/generic/nsFrameFrame.cpp b/mozilla/layout/generic/nsFrameFrame.cpp index bec3ee6cbb0..919a5ee737b 100644 --- a/mozilla/layout/generic/nsFrameFrame.cpp +++ b/mozilla/layout/generic/nsFrameFrame.cpp @@ -36,6 +36,12 @@ * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ + +/* + * rendering object for replaced elements that contain a document, such + * as ,