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:
Ting-Yu Lin 2024-09-03 04:25:43 +00:00
Родитель 4f0616a1c6
Коммит 5959ec6b84
3 изменённых файлов: 1 добавлений и 8 удалений

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

@ -225,10 +225,7 @@ struct SizeComputationInput {
};
/**
* State passed to a frame during reflow or intrinsic size calculation.
*
* XXX Refactor so only a base class (nsSizingState?) is used for intrinsic
* size calculation.
* State passed to a frame during reflow.
*
* @see nsIFrame#Reflow()
*/

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

@ -367,8 +367,6 @@ CSSIntSize nsHTMLCanvasFrame::GetCanvasSize() const {
nscoord nsHTMLCanvasFrame::IntrinsicISize(const IntrinsicSizeInput& aInput,
IntrinsicISizeType aType) {
// XXX The caller doesn't account for constraints of the height,
// min-height, and max-height properties.
if (Maybe<nscoord> containISize = ContainIntrinsicISize()) {
return *containISize;
}

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

@ -1469,8 +1469,6 @@ nscoord nsImageFrame::GetContinuationOffset() const {
nscoord nsImageFrame::IntrinsicISize(const IntrinsicSizeInput& aInput,
IntrinsicISizeType aType) {
// XXX The caller doesn't account for constraints of the block-size,
// min-block-size, and max-block-size properties.
EnsureIntrinsicSizeAndRatio();
return mIntrinsicSize.ISize(GetWritingMode()).valueOr(0);
}