src/vs/workbench/contrib/notebook/browser/view/renderers/cellOutput.ts/CellOutputElement/_bindResizeListener
class CellOutputElement:	private _bindResizeListener(dimension: DOM.IDimension) {
		const elementSizeObserver = getResizesObserver(this.innerContainer, dimension, () => {
			if (this.outputContainer && document.body.contains(this.outputContainer)) {
				const height = this.innerContainer.offsetHeight;

				if (dimension.height === height) {
					return;
				}

				const currIndex = this.viewCell.outputsViewModels.indexOf(this.output);
				if (currIndex < 0) {
					return;
				}

				dimension = {
					width: this.viewCell.layoutInfo.editorWidth,
					height: height
				};

				this._validateFinalOutputHeight(true);
				this.viewCell.updateOutputHeight(currIndex, height, 'CellOutputElement#outputResize');
				this._relayoutCell();
			}
		});

		elementSizeObserver.startObserving();
		this._renderDisposableStore.add(elementSizeObserver);
	}