зеркало из https://github.com/mozilla/pjs.git
Fix incorrect comments. b=363807 r+sr=roc
This commit is contained in:
Родитель
d4970e6f1a
Коммит
8bcbfee5c0
|
@ -1138,21 +1138,23 @@ public:
|
||||||
* is responsible for adding padding, border, and margin and for
|
* is responsible for adding padding, border, and margin and for
|
||||||
* considering the effects of 'width', 'min-width', and 'max-width'.
|
* considering the effects of 'width', 'min-width', and 'max-width'.
|
||||||
*
|
*
|
||||||
* This may be called on any frame. For frames that do not
|
* This may be called on any frame. Frames that do not participate in
|
||||||
* participate in line breaking, the result will simply append the
|
* line breaking can inherit the default implementation on nsFrame,
|
||||||
* result of |GetMinWidth| to the current line.
|
* which calls |GetMinWidth|.
|
||||||
*/
|
*/
|
||||||
virtual void
|
virtual void
|
||||||
AddInlineMinWidth(nsIRenderingContext *aRenderingContext,
|
AddInlineMinWidth(nsIRenderingContext *aRenderingContext,
|
||||||
InlineMinWidthData *aData) = 0;
|
InlineMinWidthData *aData) = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the intrinsic width of a frame in a way suitable for
|
* Add the intrinsic preferred width of a frame in a way suitable for
|
||||||
* use in inline layout.
|
* use in inline layout to an |InlineIntrinsicWidthData| object that
|
||||||
|
* represents the intrinsic width information of all the previous
|
||||||
|
* frames in the inline layout region.
|
||||||
*
|
*
|
||||||
* All the comments for |GetInlinePrefWidth| apply, except that this
|
* All the comments for |AddInlineMinWidth| and |GetPrefWidth| apply,
|
||||||
* fills in an |InlineIntrinsicWidthData| structure based on using all
|
* except that this fills in an |InlineIntrinsicWidthData| structure
|
||||||
* *mandatory* breakpoints within the frame.
|
* based on using all *mandatory* breakpoints within the frame.
|
||||||
*/
|
*/
|
||||||
virtual void
|
virtual void
|
||||||
AddInlinePrefWidth(nsIRenderingContext *aRenderingContext,
|
AddInlinePrefWidth(nsIRenderingContext *aRenderingContext,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче