Added some comments clarifying that appended, inserted, and deleted reflow

commands take a child list (i.e. more than one frame)
This commit is contained in:
troy%netscape.com 1998-11-08 00:24:40 +00:00
Родитель a8799e5126
Коммит 4fea1d817c
1 изменённых файлов: 16 добавлений и 11 удалений

Просмотреть файл

@ -76,15 +76,15 @@ public:
/**
* Reflow command generated by the style system in response to a
* ContentInserted content notification. The target frame of the reflow
* command is the container frame itself. The "child frame" is the newly
* created child frame. The "previous sibling" frame is the existing frame
* immediately preceding where the newly created frame should be inserted.
* If the newly created frame should be the target frame's first child frame
* then "previous sibling" will be nsnull.
* command is the container frame itself. The "child frame" is a linked
* list of newly created child frames. The "previous sibling" frame is the
* existing frame immediately preceding where the first of the newly created
* frames should be inserted. If the newly created frames should be the
* target frame's first child frames then "previous sibling" will be nsnull.
*
* The target frame should insert the new frame immediately after the previous
* frame, and then reflow the new frame using an eReflowReason_Initial reflow
* reason.
* The target frame should insert the new frames immediately after the previous
* sibling frame, and then reflow the new frames using an eReflowReason_Initial
* reflow reason.
*
* The target frame is determined as follows:
* - find the previous existing frame and use its content parent
@ -99,9 +99,14 @@ public:
/**
* Reflow command generated by the style system in response to a
* ContentRemoved content notification. The "child frame" is the frame
* associated with the content that has been removed. The target frame
* is the content parent of the "child frame".
* ContentRemoved content notification. The "child frame" is a linked list
* of frames associated with the content that has been removed. Note that
* there can be more than one frame in which case they're adjacent siblings.
*
* The target frame should remove and delete each of the frames.
*
* The target frame is the content parent of the child frames to be
* deleted.
*
* @see #GetTarget()
* @see #GetChildFrame()