mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
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:
parent
4f0616a1c6
commit
5959ec6b84
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user