зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1909761 Part 6 - Delete or improve obsolete comments in layout. r=layout-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D219525
This commit is contained in:
Родитель
4f0616a1c6
Коммит
5959ec6b84
|
@ -225,10 +225,7 @@ struct SizeComputationInput {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* State passed to a frame during reflow or intrinsic size calculation.
|
* State passed to a frame during reflow.
|
||||||
*
|
|
||||||
* XXX Refactor so only a base class (nsSizingState?) is used for intrinsic
|
|
||||||
* size calculation.
|
|
||||||
*
|
*
|
||||||
* @see nsIFrame#Reflow()
|
* @see nsIFrame#Reflow()
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -367,8 +367,6 @@ CSSIntSize nsHTMLCanvasFrame::GetCanvasSize() const {
|
||||||
|
|
||||||
nscoord nsHTMLCanvasFrame::IntrinsicISize(const IntrinsicSizeInput& aInput,
|
nscoord nsHTMLCanvasFrame::IntrinsicISize(const IntrinsicSizeInput& aInput,
|
||||||
IntrinsicISizeType aType) {
|
IntrinsicISizeType aType) {
|
||||||
// XXX The caller doesn't account for constraints of the height,
|
|
||||||
// min-height, and max-height properties.
|
|
||||||
if (Maybe<nscoord> containISize = ContainIntrinsicISize()) {
|
if (Maybe<nscoord> containISize = ContainIntrinsicISize()) {
|
||||||
return *containISize;
|
return *containISize;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1469,8 +1469,6 @@ nscoord nsImageFrame::GetContinuationOffset() const {
|
||||||
|
|
||||||
nscoord nsImageFrame::IntrinsicISize(const IntrinsicSizeInput& aInput,
|
nscoord nsImageFrame::IntrinsicISize(const IntrinsicSizeInput& aInput,
|
||||||
IntrinsicISizeType aType) {
|
IntrinsicISizeType aType) {
|
||||||
// XXX The caller doesn't account for constraints of the block-size,
|
|
||||||
// min-block-size, and max-block-size properties.
|
|
||||||
EnsureIntrinsicSizeAndRatio();
|
EnsureIntrinsicSizeAndRatio();
|
||||||
return mIntrinsicSize.ISize(GetWritingMode()).valueOr(0);
|
return mIntrinsicSize.ISize(GetWritingMode()).valueOr(0);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче